Commit Graph

996377 Commits

Author SHA1 Message Date
Michael Adisumarta
f0d2badd74 msm: ipa5: Adding rmnet_ll module APIs to ipa_fmwk
To support 2 new low latency data pipes for LA.

Change-Id: Icb001633adcf379d752371d83c55b76193452df8
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
2021-04-13 18:03:31 -07:00
qctecmdr
96f728e40a Merge "sdhci: sdhci-msm: Dump power control status on error" 2021-04-13 15:32:45 -07:00
qctecmdr
5386874aa8 Merge "msm: adsprpc: Use ADSP_MMAP_DMA_BUFFER to map DMA buffer" 2021-04-13 11:03:52 -07:00
qctecmdr
26c5eee51a Merge "spi: spi-msm-geni: Don't touch GPIOs per each xfer for LA VM" 2021-04-13 11:03:52 -07:00
qctecmdr
9fdf29d694 Merge "msm: ipa3: add ipa sw-flt support" 2021-04-13 09:16:37 -07:00
qctecmdr
81b29e6c79 Merge "Merge android12-5.10.28+ (c64c734) into msm-5.10" 2021-04-13 01:16:45 -07:00
qctecmdr
f0b9b98be2 Merge "cnss2: Add support XO Clock selection leakage prevention" 2021-04-12 18:06:03 -07:00
qctecmdr
6a0574f867 Merge "cnss2: Always use firmware_request_nowarn() to load binaries" 2021-04-12 18:06:03 -07:00
qctecmdr
46c9f3fd4f Merge "sched/walt: null ptr dereference fix in walt_lb_active_migration" 2021-04-12 18:06:02 -07:00
qctecmdr
c0cc6c3096 Merge "msm: kgsl: Check GMU poll register value after sleep" 2021-04-12 18:06:02 -07:00
qctecmdr
c2e106cca5 Merge "usb: typec: ucsi_glink: Fix a NULL pointer dereference" 2021-04-12 16:12:02 -07:00
qctecmdr
6496c3c0b2 Merge "cnss2: Add WLAN device OTP version debug print" 2021-04-12 16:12:02 -07:00
qctecmdr
91dce2c72b Merge "cnss2: Add delay for pci link training retries" 2021-04-12 16:12:01 -07:00
qctecmdr
1760a9a1f6 Merge "cnss2: Ignore calibration trigger if already in progress" 2021-04-12 16:12:01 -07:00
qctecmdr
0ab3f6e79b Merge "cnss2: Use unified API to get RDDM and recovery timeouts" 2021-04-12 16:12:00 -07:00
qctecmdr
49508f5912 Merge "cnss2: Prevent PCIE l1 substatus at MHI fast resume" 2021-04-12 16:11:59 -07:00
Skylar Chang
612051328d msm: ipa3: add ipa sw-flt support
Add sw-flt interface support for
customer to specify the mac, ipv4
segments and ifaces to route to
SW-path.

Change-Id: I641aa9f6817b10ffc4161d6f1a5c818fa6da45f8
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
2021-04-12 15:02:23 -07:00
Stephen Dickey
7cf1e038b0 sched/walt: null ptr dereference fix in walt_lb_active_migration
It is possible that wrq->push_task is null but
walt_lb_active_migration assumes it is non-null. Local variable
push_task is used after copying the value, and can be dereferenced.

Update walt_lb_active_migration to safely check push_task, and
ensure that the active migration flag is cleared.

Change-Id: I3b555430f1ba940053756fcbf2cca5c7d19de9fb
Signed-off-by: Stephen Dickey <dickey@codeaurora.org>
2021-04-12 12:49:26 -07:00
qctecmdr
47d63fb36c Merge "msm: kgsl: Provide nearby pages from the pool" 2021-04-12 12:05:43 -07:00
qctecmdr
e226ad1bab Merge "Revert "silmbus: ngd: register controller after power up."" 2021-04-12 09:30:17 -07:00
qctecmdr
78ffa15b29 Merge "msm: kgsl: Add additional pools of 256k and 128k" 2021-04-12 09:30:16 -07:00
Subbaraman Narayanamurthy
b5d95295b6 usb: typec: ucsi_glink: Fix a NULL pointer dereference
During a SSR/PDR scenario, when pmic_glink state is down,
ucsi_glink driver unregisters from the UCSI framework thereby
setting udev->ucsi to NULL. Typically, we don't expect any
notification coming from the charger firmware that runs on a
remote subsystem until pmic_glink state is up and ucsi_glink
driver registers again with the UCSI framework. In the case,
if ucsi_glink driver receives a notification before UCSI driver
finishes the registration, then don't handle it.

Change-Id: Ieb792ca6026344462c7eae4d40aef87ae061ae96
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
2021-04-12 09:22:46 -07:00
Chandana Kishori Chiluveru
a7f45513bf Revert "silmbus: ngd: register controller after power up."
This reverts commit 94fe5f2b45.

Without revert driver removes child devices upon receiving
audio PD is down. This leads to de-register of ALSA sound card
and leading scheduler stuck issue. Hence reverting
"silmbus: ngd: register controller after power up." change.

Change-Id: I47836db6ce775e03817d0b9128ce529483bb588e
Signed-off-by: Chandana Kishori Chiluveru <cchiluve@codeaurora.org>
2021-04-12 18:48:22 +05:30
Ivaylo Georgiev
3a206b5174 Merge android12-5.10.28+ (c64c734) into msm-5.10
* refs/heads/tmp-c64c734:
  ANDROID: GKI: hack to handle genksyms change in sound/soc/soc-core.c
  Revert "bpf: Fix fexit trampoline."
  Revert "bpf: Use NOP_ATOMIC5 instead of emit_nops(&prog, 5) for BPF_TRAMP_F_CALL_ORIG"
  Revert "net: introduce CAN specific pointer in the struct net_device"
  ANDROID: Add vendor hooks to signal.
  ANDROID: mm: cma: Add forward definition of cma in vendor hook
  ANDROID: arm64/mm: fix minor printk format warning
  FROMLIST: gcov: re-fix clang-11+ support
  ANDROID: GKI: Add deferred_free to qcom symbol list
  ANDROID: android/OWNERS: drop gki-abi-approvers@
  ANDROID: GKI: Update abi_gki_aarch64_qcom for VBO support
  ANDROID: qcom: Add dev, inet and skb related symbols
  FROMGIT: arm64: fix inline asm in load_unaligned_zeropad()
  ANDROID: Add Image.lz4 to arm64 GKI outputs
  UPSTREAM: drm/drm_vblank: set the dma-fence timestamp during send_vblank_event
  UPSTREAM: dma-fence: allow signaling drivers to set fence timestamp
  Linux 5.10.28
  bpf: Use NOP_ATOMIC5 instead of emit_nops(&prog, 5) for BPF_TRAMP_F_CALL_ORIG
  Revert "kernel: freezer should treat PF_IO_WORKER like PF_KTHREAD for freezing"
  riscv: evaluate put_user() arg before enabling user access
  drivers: video: fbcon: fix NULL dereference in fbcon_cursor()
  driver core: clear deferred probe reason on probe retry
  staging: rtl8192e: Change state information from u16 to u8
  staging: rtl8192e: Fix incorrect source in memcpy()
  soc: qcom-geni-se: Cleanup the code to remove proxy votes
  usb: dwc3: gadget: Clear DEP flags after stop transfers in ep disable
  usb: dwc3: qcom: skip interconnect init for ACPI probe
  usb: dwc2: Prevent core suspend when port connection flag is 0
  usb: dwc2: Fix HPRT0.PrtSusp bit setting for HiKey 960 board.
  usb: gadget: udc: amd5536udc_pci fix null-ptr-dereference
  USB: cdc-acm: fix use-after-free after probe failure
  USB: cdc-acm: fix double free on probe failure
  USB: cdc-acm: downgrade message to debug
  USB: cdc-acm: untangle a circular dependency between callback and softint
  cdc-acm: fix BREAK rx code path adding necessary calls
  usb: xhci-mtk: fix broken streams issue on 0.96 xHCI
  usb: musb: Fix suspend with devices connected for a64
  USB: quirks: ignore remote wake-up on Fibocom L850-GL LTE modem
  usbip: vhci_hcd fix shift out-of-bounds in vhci_hub_control()
  firewire: nosy: Fix a use-after-free bug in nosy_ioctl()
  video: hyperv_fb: Fix a double free in hvfb_probe
  usb: dwc3: pci: Enable dis_uX_susphy_quirk for Intel Merrifield
  firmware: stratix10-svc: reset COMMAND_RECONFIG_FLAG_PARTIAL to 0
  extcon: Fix error handling in extcon_dev_register
  extcon: Add stubs for extcon_register_notifier_all() functions
  pinctrl: rockchip: fix restore error in resume
  vfio/nvlink: Add missing SPAPR_TCE_IOMMU depends
  drm/tegra: sor: Grab runtime PM reference across reset
  drm/tegra: dc: Restore coupling of display controllers
  drm/imx: fix memory leak when fails to init
  reiserfs: update reiserfs_xattrs_initialized() condition
  drm/amdgpu: check alignment on CPU page for bo map
  drm/amdgpu: fix offset calculation in amdgpu_vm_bo_clear_mappings()
  drm/amdkfd: dqm fence memory corruption
  mm: fix race by making init_zero_pfn() early_initcall
  s390/vdso: fix tod_steering_delta type
  s390/vdso: copy tod_steering_delta value to vdso_data page
  tracing: Fix stack trace event size
  PM: runtime: Fix ordering in pm_runtime_get_suppliers()
  PM: runtime: Fix race getting/putting suppliers at probe
  KVM: SVM: ensure that EFER.SVME is set when running nested guest or on nested vmexit
  KVM: SVM: load control fields from VMCB12 before checking them
  xtensa: move coprocessor_flush to the .text section
  xtensa: fix uaccess-related livelock in do_page_fault
  ALSA: hda/realtek: fix mute/micmute LEDs for HP 640 G8
  ALSA: hda/realtek: call alc_update_headset_mode() in hp_automute_hook
  ALSA: hda/realtek: fix a determine_headset_type issue for a Dell AIO
  ALSA: hda: Add missing sanity checks in PM prepare/complete callbacks
  ALSA: hda: Re-add dropped snd_poewr_change_state() calls
  ALSA: usb-audio: Apply sample rate quirk to Logitech Connect
  ACPI: processor: Fix CPU0 wakeup in acpi_idle_play_dead()
  ACPI: tables: x86: Reserve memory occupied by ACPI tables
  bpf: Remove MTU check in __bpf_skb_max_len
  net: 9p: advance iov on empty read
  net: wan/lmc: unregister device when no matching device is found
  net: ipa: fix register write command validation
  net: ipa: remove two unused register definitions
  appletalk: Fix skb allocation size in loopback case
  net: ethernet: aquantia: Handle error cleanup of start on open
  ath10k: hold RCU lock when calling ieee80211_find_sta_by_ifaddr()
  iwlwifi: pcie: don't disable interrupts for reg_lock
  netdevsim: dev: Initialize FIB module after debugfs
  rtw88: coex: 8821c: correct antenna switch function
  ath11k: add ieee80211_unregister_hw to avoid kernel crash caused by NULL pointer
  brcmfmac: clear EAP/association status bits on linkdown events
  can: tcan4x5x: fix max register value
  net: introduce CAN specific pointer in the struct net_device
  can: dev: move driver related infrastructure into separate subdir
  flow_dissector: fix TTL and TOS dissection on IPv4 fragments
  net: mvpp2: fix interrupt mask/unmask skip condition
  io_uring: call req_set_fail_links() on short send[msg]()/recv[msg]() with MSG_WAITALL
  ext4: do not iput inode under running transaction in ext4_rename()
  static_call: Align static_call_is_init() patching condition
  io_uring: imply MSG_NOSIGNAL for send[msg]()/recv[msg]() calls
  nvmet-tcp: fix kmap leak when data digest in use
  locking/ww_mutex: Fix acquire/release imbalance in ww_acquire_init()/ww_acquire_fini()
  locking/ww_mutex: Simplify use_ww_ctx & ww_ctx handling
  thermal/core: Add NULL pointer check before using cooling device stats
  ASoC: rt711: add snd_soc_component remove callback
  ASoC: rt5659: Update MCLK rate in set_sysclk()
  staging: comedi: cb_pcidas64: fix request_irq() warn
  staging: comedi: cb_pcidas: fix request_irq() warn
  scsi: qla2xxx: Fix broken #endif placement
  scsi: st: Fix a use after free in st_open()
  io_uring: fix ->flags races by linked timeouts
  vhost: Fix vhost_vq_reset()
  kernel: freezer should treat PF_IO_WORKER like PF_KTHREAD for freezing
  NFSD: fix error handling in NFSv4.0 callbacks
  ASoC: cs42l42: Always wait at least 3ms after reset
  ASoC: cs42l42: Fix mixer volume control
  ASoC: cs42l42: Fix channel width support
  ASoC: cs42l42: Fix Bitclock polarity inversion
  ASoC: soc-core: Prevent warning if no DMI table is present
  ASoC: es8316: Simplify adc_pga_gain_tlv table
  ASoC: sgtl5000: set DAP_AVC_CTRL register to correct default value on probe
  ASoC: rt5651: Fix dac- and adc- vol-tlv values being off by a factor of 10
  ASoC: rt5640: Fix dac- and adc- vol-tlv values being off by a factor of 10
  ASoC: rt1015: fix i2c communication error
  iomap: Fix negative assignment to unsigned sis->pages in iomap_swapfile_activate
  rpc: fix NULL dereference on kmalloc failure
  fs: nfsd: fix kconfig dependency warning for NFSD_V4
  ext4: fix bh ref count on error paths
  ext4: shrink race window in ext4_should_retry_alloc()
  virtiofs: Fail dax mount if device does not support it
  bpf: Fix fexit trampoline.
  arm64: mm: correct the inside linear map range during hotplug check
  ANDROID: sched: Initialize arguments of android_rvh_replace_next_task_fair
  ANDROID: usb: typec: tcpm: Add vendor hook to update current limit
  ANDROID: mm: cma: add vendor hoook in cma_alloc()
  ANDROID: GKI: Update ABI XML
  ANDROID: GKI: Update virtual_device symbol list
  ANDROID: dma-heap: Make the page-pool/deferred-free libraries built-in
  ANDROID: vendor_hooks: Add hooks to recognize special worker thread.
  ANDROID: usb: typec: tcpm: Add vendor hook to store partner source capabilities
  UPSTREAM: KVM: arm64: Fix CPU interface MMIO compatibility detection
  FROMGIT: xhci: prevent double-fetch of transfer and transfer event TRBs
  FROMGIT: xhci: fix potential array out of bounds with several interrupters
  FROMGIT: xhci: check control context is valid before dereferencing it.
  FROMGIT: xhci: check port array allocation was successful before dereferencing it
  ANDROID: tracing: Make automounting in debugfs optional
  ANDROID: usb: add EXPORT_TRACE_SYMBOL to export tracepoint
  ANDROID: Add a build config fragment for KHWASan.
  FROMGIT: driver core: Use unbound workqueue for deferred probes

Conflicts:
	kernel/trace/Kconfig

Change-Id: I9e717422a89ba883c739ea39897904b84fd164d7
Signed-off-by: Ivaylo Georgiev <irgeorgiev@codeaurora.org>
2021-04-12 04:02:51 -07:00
Huang Yiwei
a4e39d1ed0 soc: qcom: Support for 16 ways of allocation
From llcc version 2.1.0 on wards, LLCC supports 16 ways of allocation.
Adds the support for 16 ways of allocation.

Change-Id: I6e83c56529b691d04ddd8334ce23d2fffd1a1367
Signed-off-by: Huang Yiwei <hyiwei@codeaurora.org>
2021-04-12 14:20:46 +08:00
qctecmdr
3dd1c4fd57 Merge "slimbus: qcom-ngd-ctrl: Reduce autosuspend delay from 1sec to 100msec" 2021-04-11 21:01:45 -07:00
qctecmdr
71d7194c5f Merge "msm: kgsl: Realign HFI Feature values to match the GMU" 2021-04-09 19:33:06 -07:00
qctecmdr
d6524e4c80 Merge "sched/walt: core_ctl init out of order" 2021-04-09 17:29:52 -07:00
qctecmdr
562f5ba983 Merge "msm: kgsl: Correctly handle HFI feature set errors" 2021-04-09 15:41:53 -07:00
Stephen Dickey
d45b569c6b sched/walt: core_ctl init out of order
core_ctl is launching a kthread which uses a spinlock, prior
to initializing the spinlock.  This creates a race, and a lockup.

Change-Id: I170a77addc6e4c2cc90b6683b50723008760f2f4
Signed-off-by: Stephen Dickey <dickey@codeaurora.org>
2021-04-09 13:58:33 -07:00
qctecmdr
b6f604165c Merge "rpmsg: glink: Pass task structure to set_cpus_allowed_ptr" 2021-04-09 13:49:41 -07:00
qctecmdr
073cc19fc7 Merge "adsprpc: validate if same fastrpc session is already opened" 2021-04-09 11:42:38 -07:00
Carter Cooper
332370a3b3 msm: kgsl: Realign HFI Feature values to match the GMU
HFI feature bits have diverged. Reset them so KGSL and GMU
use the correct values.

Change-Id: Iae81fcd998eb927d831a732738d92cc7223b01c6
Signed-off-by: Carter Cooper <ccooper@codeaurora.org>
2021-04-09 12:06:27 -06:00
Carter Cooper
9817e935a9 msm: kgsl: Correctly handle HFI feature set errors
Goto the proper error handling (rather than return early) if
the GMU kernel profiling feature set fails.

Change-Id: I0e9d41e38dea88a529e663f9b6a367568ad1199b
Signed-off-by: Carter Cooper <ccooper@codeaurora.org>
2021-04-09 12:06:27 -06:00
Jay Jayanna
710e27c97f rpmsg: glink: Pass task structure to set_cpus_allowed_ptr
Passing in "current" would set the kworker's affinity rather
than the glink rx thread's affinity. Hence, pass in the task
structure to the glink rx thread when setting cpu affinity.

Change-Id: I95e88879ebaf68ce98132829c8b4cea9b8588750
Signed-off-by: Jay Jayanna <jayanna@codeaurora.org>
2021-04-09 11:04:26 -07:00
qctecmdr
8fb4724367 Merge "virtio: avoid setting swiotlb_force in virtio mmio" 2021-04-09 09:56:25 -07:00
qctecmdr
02d72f0b36 Merge "iommu: qcom-iommu-debug: Fix NULL pointer dereferences for atos read/write" 2021-04-09 08:18:10 -07:00
qctecmdr
4aae18b8d7 Merge "cnss2: Download qdss cfg file at end of fw mem ready handler" 2021-04-09 06:39:07 -07:00
qctecmdr
f63136e0a7 Merge "sched/walt: Read sysctl_sched_ravg_window_nr_ticks under mutex" 2021-04-09 06:39:06 -07:00
qctecmdr
e7730c332e Merge "tmc-usb: Move byte-cntr check before assign value to tmcdrvdata" 2021-04-09 03:16:59 -07:00
qctecmdr
cef2b298d4 Merge "msm: ipa: add support for data warning" 2021-04-09 00:54:44 -07:00
qctecmdr
34d674410f Merge "sched/walt: sched_task_util trace point updates" 2021-04-09 00:54:44 -07:00
qctecmdr
d04014d789 Merge "mem-buf: Fix memory hot-plug alignment check" 2021-04-09 00:54:44 -07:00
Greg Kroah-Hartman
c64c734708 ANDROID: GKI: hack to handle genksyms change in sound/soc/soc-core.c
Commit ed47acc0c8 ("ASoC: soc-core: Prevent warning if no DMI table is
present") changed soc-core.c by adding #include <linux/acpi.h>.  That
caused the visibility of other symbols to suddenly change and so
genksyms changed for some soc-core.c functions when really nothing
changed at all.

Work around this "fun" by providing a __GENKSYMS__ check to include the
acpi.h file or not.  Ugh.

Bug: 161946584
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I4b3c5634de2336af6bbf99f25fd9250a365991bf
2021-04-09 09:38:25 +02:00
Greg Kroah-Hartman
bc751d322e Revert "bpf: Fix fexit trampoline."
This reverts commit e21d2b9235

It breaks the abi but we can bring it back later on when the KABI update
happens in a few days.

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I7a5861c037be3e35973893d8c91eda9133bf8595
2021-04-09 09:38:25 +02:00
Greg Kroah-Hartman
21e2297dae Revert "bpf: Use NOP_ATOMIC5 instead of emit_nops(&prog, 5) for BPF_TRAMP_F_CALL_ORIG"
This reverts commit 7973a0dad0.

It breaks the abi but we can bring it back later on when the KABI update
happens in a few days.

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I01fcc3fd586cb0e748524355403b3871c41df2b7
2021-04-09 09:38:25 +02:00
Greg Kroah-Hartman
4a23c8ded3 Revert "net: introduce CAN specific pointer in the struct net_device"
This reverts commit 1a5751d58b.

It breaks the abi but we can bring it back later on when the KABI update
happens in a few days.

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I713290c735f2c01291c539ab346341fd9aac91ad
2021-04-09 09:38:25 +02:00
Greg Kroah-Hartman
e92949726c Merge 5.10.28 into android12-5.10
Changes in 5.10.28
	arm64: mm: correct the inside linear map range during hotplug check
	bpf: Fix fexit trampoline.
	virtiofs: Fail dax mount if device does not support it
	ext4: shrink race window in ext4_should_retry_alloc()
	ext4: fix bh ref count on error paths
	fs: nfsd: fix kconfig dependency warning for NFSD_V4
	rpc: fix NULL dereference on kmalloc failure
	iomap: Fix negative assignment to unsigned sis->pages in iomap_swapfile_activate
	ASoC: rt1015: fix i2c communication error
	ASoC: rt5640: Fix dac- and adc- vol-tlv values being off by a factor of 10
	ASoC: rt5651: Fix dac- and adc- vol-tlv values being off by a factor of 10
	ASoC: sgtl5000: set DAP_AVC_CTRL register to correct default value on probe
	ASoC: es8316: Simplify adc_pga_gain_tlv table
	ASoC: soc-core: Prevent warning if no DMI table is present
	ASoC: cs42l42: Fix Bitclock polarity inversion
	ASoC: cs42l42: Fix channel width support
	ASoC: cs42l42: Fix mixer volume control
	ASoC: cs42l42: Always wait at least 3ms after reset
	NFSD: fix error handling in NFSv4.0 callbacks
	kernel: freezer should treat PF_IO_WORKER like PF_KTHREAD for freezing
	vhost: Fix vhost_vq_reset()
	io_uring: fix ->flags races by linked timeouts
	scsi: st: Fix a use after free in st_open()
	scsi: qla2xxx: Fix broken #endif placement
	staging: comedi: cb_pcidas: fix request_irq() warn
	staging: comedi: cb_pcidas64: fix request_irq() warn
	ASoC: rt5659: Update MCLK rate in set_sysclk()
	ASoC: rt711: add snd_soc_component remove callback
	thermal/core: Add NULL pointer check before using cooling device stats
	locking/ww_mutex: Simplify use_ww_ctx & ww_ctx handling
	locking/ww_mutex: Fix acquire/release imbalance in ww_acquire_init()/ww_acquire_fini()
	nvmet-tcp: fix kmap leak when data digest in use
	io_uring: imply MSG_NOSIGNAL for send[msg]()/recv[msg]() calls
	static_call: Align static_call_is_init() patching condition
	ext4: do not iput inode under running transaction in ext4_rename()
	io_uring: call req_set_fail_links() on short send[msg]()/recv[msg]() with MSG_WAITALL
	net: mvpp2: fix interrupt mask/unmask skip condition
	flow_dissector: fix TTL and TOS dissection on IPv4 fragments
	can: dev: move driver related infrastructure into separate subdir
	net: introduce CAN specific pointer in the struct net_device
	can: tcan4x5x: fix max register value
	brcmfmac: clear EAP/association status bits on linkdown events
	ath11k: add ieee80211_unregister_hw to avoid kernel crash caused by NULL pointer
	rtw88: coex: 8821c: correct antenna switch function
	netdevsim: dev: Initialize FIB module after debugfs
	iwlwifi: pcie: don't disable interrupts for reg_lock
	ath10k: hold RCU lock when calling ieee80211_find_sta_by_ifaddr()
	net: ethernet: aquantia: Handle error cleanup of start on open
	appletalk: Fix skb allocation size in loopback case
	net: ipa: remove two unused register definitions
	net: ipa: fix register write command validation
	net: wan/lmc: unregister device when no matching device is found
	net: 9p: advance iov on empty read
	bpf: Remove MTU check in __bpf_skb_max_len
	ACPI: tables: x86: Reserve memory occupied by ACPI tables
	ACPI: processor: Fix CPU0 wakeup in acpi_idle_play_dead()
	ALSA: usb-audio: Apply sample rate quirk to Logitech Connect
	ALSA: hda: Re-add dropped snd_poewr_change_state() calls
	ALSA: hda: Add missing sanity checks in PM prepare/complete callbacks
	ALSA: hda/realtek: fix a determine_headset_type issue for a Dell AIO
	ALSA: hda/realtek: call alc_update_headset_mode() in hp_automute_hook
	ALSA: hda/realtek: fix mute/micmute LEDs for HP 640 G8
	xtensa: fix uaccess-related livelock in do_page_fault
	xtensa: move coprocessor_flush to the .text section
	KVM: SVM: load control fields from VMCB12 before checking them
	KVM: SVM: ensure that EFER.SVME is set when running nested guest or on nested vmexit
	PM: runtime: Fix race getting/putting suppliers at probe
	PM: runtime: Fix ordering in pm_runtime_get_suppliers()
	tracing: Fix stack trace event size
	s390/vdso: copy tod_steering_delta value to vdso_data page
	s390/vdso: fix tod_steering_delta type
	mm: fix race by making init_zero_pfn() early_initcall
	drm/amdkfd: dqm fence memory corruption
	drm/amdgpu: fix offset calculation in amdgpu_vm_bo_clear_mappings()
	drm/amdgpu: check alignment on CPU page for bo map
	reiserfs: update reiserfs_xattrs_initialized() condition
	drm/imx: fix memory leak when fails to init
	drm/tegra: dc: Restore coupling of display controllers
	drm/tegra: sor: Grab runtime PM reference across reset
	vfio/nvlink: Add missing SPAPR_TCE_IOMMU depends
	pinctrl: rockchip: fix restore error in resume
	extcon: Add stubs for extcon_register_notifier_all() functions
	extcon: Fix error handling in extcon_dev_register
	firmware: stratix10-svc: reset COMMAND_RECONFIG_FLAG_PARTIAL to 0
	usb: dwc3: pci: Enable dis_uX_susphy_quirk for Intel Merrifield
	video: hyperv_fb: Fix a double free in hvfb_probe
	firewire: nosy: Fix a use-after-free bug in nosy_ioctl()
	usbip: vhci_hcd fix shift out-of-bounds in vhci_hub_control()
	USB: quirks: ignore remote wake-up on Fibocom L850-GL LTE modem
	usb: musb: Fix suspend with devices connected for a64
	usb: xhci-mtk: fix broken streams issue on 0.96 xHCI
	cdc-acm: fix BREAK rx code path adding necessary calls
	USB: cdc-acm: untangle a circular dependency between callback and softint
	USB: cdc-acm: downgrade message to debug
	USB: cdc-acm: fix double free on probe failure
	USB: cdc-acm: fix use-after-free after probe failure
	usb: gadget: udc: amd5536udc_pci fix null-ptr-dereference
	usb: dwc2: Fix HPRT0.PrtSusp bit setting for HiKey 960 board.
	usb: dwc2: Prevent core suspend when port connection flag is 0
	usb: dwc3: qcom: skip interconnect init for ACPI probe
	usb: dwc3: gadget: Clear DEP flags after stop transfers in ep disable
	soc: qcom-geni-se: Cleanup the code to remove proxy votes
	staging: rtl8192e: Fix incorrect source in memcpy()
	staging: rtl8192e: Change state information from u16 to u8
	driver core: clear deferred probe reason on probe retry
	drivers: video: fbcon: fix NULL dereference in fbcon_cursor()
	riscv: evaluate put_user() arg before enabling user access
	Revert "kernel: freezer should treat PF_IO_WORKER like PF_KTHREAD for freezing"
	bpf: Use NOP_ATOMIC5 instead of emit_nops(&prog, 5) for BPF_TRAMP_F_CALL_ORIG
	Linux 5.10.28

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: Ifdbbeda8de3ee22a7aa3f5d3b10becf0aba1a124
2021-04-09 09:29:17 +02:00
Mao Jinlong
51a44b455e tmc-usb: Move byte-cntr check before assign value to tmcdrvdata
Move byte-cntr check before assign value to tmcdrvdata to avoid byte-cntr
is null when assign value to tmcdrvdata.

Change-Id: I42dc29af7ab0df05b46f1a86a905a14b83f587dc
Signed-off-by: Mao Jinlong <jinlmao@codeaurora.org>
2021-04-09 15:07:36 +08:00
Pavankumar Kondeti
0d3cab7a68 sched/walt: Read sysctl_sched_ravg_window_nr_ticks under mutex
When sched_ravg_window_nr_ticks tunable is read and write concurrently,
the read can return the previous value though the write is already
happened. Fix this by reading the sysctl_sched_ravg_window_nr_ticks
value under mutex.

Change-Id: Ie1146c47ac1a184fc8bf4a2824bf6db28fd7156d
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
2021-04-09 10:31:26 +05:30