BAM endpoint TRB ring has usage of 2 TRBs (normal and LINK), and
completion API (dwc3_msm_req_complete_func()) currently only
increments dequeue pointer by 1 assuming that dwc3_gadget_giveback()
does increment dequeue pointer for normal TRB. With newer changes
in dwc3 gadget framework, it moves requests to cancelled list with
usb_ep_dequeue() and reclaim those TRBs on end transfer command
completion. Reclaiming TRB back to trb pool is done only when
req->num_trbs is non zero. dwc3_msm_ep_queue() API checks for
enqueue and dequeue pointers, and on mismatch of it error out.
This results into no BAM2BAM communication after trying to use USB
as sink with QDSS usecase. Fix this issue by incrementing req->num_trbs
with dwc3_msm_ep_queue() API for normal TRB so dequeue pointer is
incremented with dwc3_gadget_ep_cleanup_cancelled_requests() API.
Change-Id: I0777aea7c6add7fb6fea7ea74056786e33435427
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
List register ops is provider supported hence can not be
called on clk framework clks. For example: xo-board,sleep-clk
are fixed clock.
List/print only those clocks who are qcom-regmap clks.
Cast member structure only if clk_hw is valid clk_regmap clk.
Change-Id: Id66856f45166a32e37ea7e477f80360ab020ab25
Signed-off-by: Vivek Aknurwar <viveka@codeaurora.org>
Providers adds ops for list rate and print reg debug nodes
to print necessary debug information, these nodes
can not be added to clk framework and is moved down to provider level.
Since provider does not have complete knowledge on clks owned
at clk framework, providers can not blindly typecast clks owned
by clk framework to call its list/print ops.
A separate qcom_regmap_list is maintained during qcom clk
registration with clk framework. So as when debug list/print
calls are called, provider have knowledge of qcom clks
and only call respective ops on qcom clks maintained
in clk_regmap_list.
Providers can use this API to know if clk is qcom regmaped clk.
Change-Id: I3e4d8280c8fa0c692f855c0d6659dd14f95008df
Signed-off-by: Vivek Aknurwar <viveka@codeaurora.org>
Enable the QRTR MHI transport to enable QRTR/QMI traffic to remotes
connected over MHI/PCIe.
Also, remove this feature from lahaina_debug as it will be enabled
in lahaina_gki config in this change.
Change-Id: I7e6165459c22ec105714acd575000ae1c8e39fdd
Signed-off-by: Jay Jayanna <jayanna@codeaurora.org>
Enable the IPC Logging driver to enable clients to write debug logs
into a circular buffer that can be read from debugfs.
Also, remove it from lahaina_debug config as it will now be
supported on lahaina_qgki.
Change-Id: I7811c15dc2572e75f3545a072b758232250afe40
Signed-off-by: Jay Jayanna <jayanna@codeaurora.org>
If call tmc_disable_etr_sink in switch mode function, there will be
dead lock issue as there is mem_lock in tmc_disable_etr_sink. So need
to call _tmc_disable_etr_sink.
Change-Id: I6ea242e8f519c6dea8f2b80235841bee7af1931e
Signed-off-by: Mao Jinlong <jinlmao@codeaurora.org>
In order to debug cold boot calibration timeout issues, assert when
it happens in debug builds.
Change-Id: I4ea6ade5fd660e29da2661b95fac2af02758546e
Signed-off-by: Yue Ma <yuem@codeaurora.org>
Say GMU hits a hard fault and saves critical debug state and
sends CM3 fault interrupt. It is possible that subsequent handshake
between kgsl and GMU will timeout and kgsl will trigger GMU snapshot.
This will send an NMI to GMU, which will over-write the critical debug
state. To avoid this, check if there was a CM3 fault before sending
NMI to the GMU.
Change-Id: I0d4d4af3efe31110123f614c8dd8fe8d4a04c812
Signed-off-by: Harshdeep Dhatt <hdhatt@codeaurora.org>
When control value is queried, framework is returning the
min value as zero even if min is negative.
This change will make sure that frame work will update
the max value in cases where min is negative.
Change-Id: I4e5c70a659ded61c4094f1622611f82994df86b0
Signed-off-by: Gopikrishnaiah Anandan <agopik@codeaurora.org>
Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org>
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
Signed-off-by: Meng Wang <mwang@codeaurora.org>
Some devices use a watchdog driver which requires each cpu to be able to
handle an IPI within one second. Since printing to serial console disables
interrupts, the large amount of messages generated by dump_tasks() may
trigger this scenario. Therefore, ensure that these messages are
not displayed in nonfatal scenarios.
Also fix a logic error with strcmp.
Change-Id: Ifb6a09431747431478ce26ff89e38d6c6724af2d
Signed-off-by: Patrick Daly <pdaly@codeaurora.org>
[isaacm@codeaurora.org: Fixed trivial merge conflicts]
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
Currently, as part of fault recovery, we try to
restart the a6xx gpu five times. This loop is
for legacy reasons for a hardware condition that
existed on a4xx. That doesn’t exist for a6xx so
remove the loop. Also, if there are no need to keep
GPU active, we should transition back to SLUMBER.
Change-Id: Ib6f7437bab2b424c4f632efca459ff8c3fd064e4
Signed-off-by: Harshdeep Dhatt <hdhatt@codeaurora.org>
These both happen when gx is collapsed so its safe to
assume that nothing is inflight. Take an inline snapshot
and then request for a dispatcher based recovery.
Change-Id: I4a3438660953d38406dd8e70868fb38172f9e967
Signed-off-by: Harshdeep Dhatt <hdhatt@codeaurora.org>
Do not trigger dispatcher based snapshot or recovery. Instead,
wait for the next kgsl -> GMU interaction to timeout thus
triggering GMU snapshot and appropriate recovery steps based
on whether gpu was active or not.
Change-Id: I17b4245f4e0113bfc902d7dae46bb24d0bc2b65d
Signed-off-by: Harshdeep Dhatt <hdhatt@codeaurora.org>
A stuck CP means that we will not be able to enter
slumber because gmu to cp interaction is impacted.
Therefore, take a gmu snapshot which also sets gmu
fault. The gmu fault will indicate the clean up
code to force a gmu_suspend() so as to set the
stage for the next submission to start afresh.
Change-Id: Ia90e6c447e9c1c87e04cf9ca3ed87eed5c17b07c
Signed-off-by: Harshdeep Dhatt <hdhatt@codeaurora.org>
GMU can fail to turn on GX or it can fail the START HFI.
So take snapshot and put GMU in NMI. When this happens,
kgsl will call gmu_stop() and as GMU is already in fault
aka NMI, reset the GMU and GPU. If oob during adreno_stop
fails, take gmu snapshot and only do things that don't need
gx to be on.
Change-Id: Iafc9b34063a7ff2415d3462dd289b52e425fbf3b
Signed-off-by: Harshdeep Dhatt <hdhatt@codeaurora.org>
The two always happen together. So set the gmu_fault
inside the gmu_snapshot function. Also, if we have
already recorded a gmu fault, then do not send nmi
or try to snapshot a gmu which is already in nmi.
Change-Id: I403a9c2c3cb7a1330a7931c41a23b4b4a2b66998
Signed-off-by: Harshdeep Dhatt <hdhatt@codeaurora.org>
The very first boot starts from the INIT state. If the
gmu fails to boot here, set the state to KGSL_STATE_RESET
to effect a RESET -> INIT transition where we reset the
GMU.
Change-Id: I0fddf745d299b855aab0c1989997dcab5e77954a
Signed-off-by: Harshdeep Dhatt <hdhatt@codeaurora.org>
As we don't know the state of pages after failure from
ion_hyp_unassign_sg, don't try to free them to buddy or pool.
Change-Id: I54113ef13e25818301bdbe033468070b15cefa55
Signed-off-by: Charan Teja Reddy <charante@codeaurora.org>
[isaacm@codeaurora.org: resolved trivial merge conflicts]
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
In case of ion_hyp_assign_sg fails with partial buffers assigned to
destination vmid, we can't return back the buffer back to pool or buddy.
Let this leak to avoid fatal issue.
Change-Id: Ice499af55ecf781db7d066c8553e377507795177
Signed-off-by: Prakash Gupta <guptap@codeaurora.org>
[isaacm@codeaurora.org: resolved trivial merge conflicts]
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
Add debugfs nodes to read and set votables from the firmware running on
the remote subsystem (e.g. DSP).
Also modify error handling logic in battery_dbg_add_debugfs().
Change-Id: I50f191add22cd500e04475f264e86cf16c6be48f
Signed-off-by: Guru Das Srinagesh <gurus@codeaurora.org>
Due to the changes introduced while converting the SSR suite
of drivers to loadable modules, the final module was named
as 'ssr'. As a result, the module-parameteres will be
exposed as '/sys/module/ssr/parameters/'.
However, this breaks the compatibility with user-space
applications which rely on '/sys/module/subsystem_restart/parameters'
instead (to enable ramdumps, and so on). Hence, rename the file
'subsystem_restart.c' to 'msm_subsystem_restart.c', such that,
the build system can be informed to use the name 'subsystem_restart'
to generate the final module and user-space apps can continue
using the same path.
Change-Id: I0ea278bb30982eaacb8281b4571daad8d9c4e19c
Signed-off-by: Raghavendra Rao Ananta <rananta@codeaurora.org>
Only parse effect subnodes which have qcom,effect-id property.
Change-Id: I70b2c1401bbf7d5238de818ac5b6ed55943a19f6
Signed-off-by: Fenglin Wu <fenglinw@codeaurora.org>
* refs/heads/tmp-4bbb960:
Revert "BACKPORT: FROMLIST: Update Inline Encryption from v5 to v6 of patch series"
GKI: enable CONFIG_NETFILTER_XT_MATCH_QUOTA2_LOG=y
Linux 5.4.12
drm/i915/gen9: Clear residual context state on context switch
netfilter: ipset: avoid null deref when IPSET_ATTR_LINENO is present
netfilter: conntrack: dccp, sctp: handle null timeout argument
netfilter: arp_tables: init netns pointer in xt_tgchk_param struct
phy: cpcap-usb: Fix flakey host idling and enumerating of devices
phy: cpcap-usb: Fix error path when no host driver is loaded
USB: Fix: Don't skip endpoint descriptors with maxpacket=0
HID: hiddev: fix mess in hiddev_open()
ath10k: fix memory leak
rtl8xxxu: prevent leaking urb
scsi: bfa: release allocated memory in case of error
rpmsg: char: release allocated memory
mwifiex: pcie: Fix memory leak in mwifiex_pcie_alloc_cmdrsp_buf
mwifiex: fix possible heap overflow in mwifiex_process_country_ie()
staging: vt6656: remove bool from vnt_radio_power_on ret
um: Implement copy_thread_tls
clone3: ensure copy_thread_tls is implemented
xtensa: Implement copy_thread_tls
riscv: Implement copy_thread_tls
parisc: Implement copy_thread_tls
arm: Implement copy_thread_tls
arm64: Implement copy_thread_tls
arm64: Move __ARCH_WANT_SYS_CLONE3 definition to uapi headers
tty: always relink the port
tty: link tty and port before configuring it as console
iommu/vt-d: Fix adding non-PCI devices to Intel IOMMU
serdev: Don't claim unsupported ACPI serial devices
staging: rtl8188eu: Add device code for TP-Link TL-WN727N v5.21
staging: vt6656: limit reg output to block size
staging: vt6656: correct return of vnt_init_registers.
staging: comedi: adv_pci1710: fix AI channels 16-31 for PCI-1713
usb: musb: dma: Correct parameter passed to IRQ handler
usb: musb: Disable pullup at init
usb: musb: fix idling for suspend after disconnect interrupt
USB: serial: option: add ZLP support for 0x1bc7/0x9010
USB-PD tcpm: bad warning+size, PPS adapters
usb: ohci-da8xx: ensure error return on variable error is set
usb: cdns3: should not use the same dev_id for shared interrupt handler
staging: vt6656: Fix non zero logical return of, usb_control_msg
staging: vt6656: set usb_set_intfdata on driver fail.
pstore/ram: Regularize prz label allocation lifetime
gpiolib: acpi: Add honor_wakeup module-option + quirk mechanism
gpiolib: acpi: Turn dmi_system_id table into a generic quirk table
can: can_dropped_invalid_skb(): ensure an initialized headroom in outgoing CAN sk_buffs
can: mscan: mscan_rx_poll(): fix rx path lockup when returning from polling to irq mode
can: tcan4x5x: tcan4x5x_can_probe(): get the device out of standby before register access
can: gs_usb: gs_usb_probe(): use descriptors of current altsetting
can: kvaser_usb: fix interface sanity check
IB/hfi1: Adjust flow PSN with the correct resync_psn
drm/i915/gt: Mark up virtual engine uabi_instance
drm/i915: Add Wa_1407352427:icl,ehl
drm/dp_mst: correct the shifting in DP_REMOTE_I2C_READ
drm/fb-helper: Round up bits_per_pixel if possible
drm/sun4i: tcon: Set RGB DCLK min. divider based on hardware model
Revert "drm/amdgpu: Set no-retry as default."
drm/i915: Add Wa_1408615072 and Wa_1407596294 to icl,ehl
Input: input_event - fix struct padding on sparc64
Input: add safety guards to input_set_keycode()
HID: hid-input: clear unmapped usages
HID: hidraw: Fix returning EPOLLOUT from hidraw_poll
HID: uhid: Fix returning EPOLLOUT from uhid_char_poll
HID: Fix slab-out-of-bounds read in hid_field_extract
tracing: Change offset type to s32 in preempt/irq tracepoints
tracing: Have stack tracer compile when MCOUNT_INSN_SIZE is not defined
kernel/trace: Fix do not unregister tracepoints when register sched_migrate_task fail
rtc: sun6i: Add support for RTC clocks on R40
tpm: Handle negative priv->response_len in tpm_common_read()
tpm: Revert "tpm_tis_core: Turn on the TPM before probing IRQ's"
tpm: Revert "tpm_tis_core: Set TPM_CHIP_FLAG_IRQ before probing for interrupts"
tpm: Revert "tpm_tis: reserve chip for duration of tpm_tis_core_init"
ALSA: hda/realtek - Add quirk for the bass speaker on Lenovo Yoga X1 7th gen
ALSA: hda/realtek - Set EAPD control to default for ALC222
ALSA: hda/realtek - Add new codec supported for ALCS1200A
ALSA: usb-audio: Apply the sample rate quirk for Bose Companion 5
usb: chipidea: host: Disable port power only if previously enabled
powercap: intel_rapl: add NULL pointer check to rapl_mmio_cpu_online()
i2c: fix bus recovery stop mode timing
chardev: Avoid potential use-after-free in 'chrdev_open()'
UPSTREAM: vhost, kcov: collect coverage from vhost_worker
UPSTREAM: usb, kcov: collect coverage from hub_event
ANDROID: update kernel ABI for kcov changes
UPSTREAM: kcov: remote coverage support
ANDROID: gki_defconfig: Enable blk-crypto fallback
BACKPORT: FROMLIST: Update Inline Encryption from v5 to v6 of patch series
ANDROID: tty: serdev: Fix broken serial console input
ANDROID: reset: hisi-reboot: adb reboot bootloader
Change-Id: I6e1ce85864cd7c26ad17d2d6bc12232433d50bde
Signed-off-by: Blagovest Kolenichev <bkolenichev@codeaurora.org>
This reverts commit b7b3af9614.
This is a preparation change for merging android-5.4.12 into
msm-5.4 branch. The reverted change is committed already via:
c83b552741 Merge fbe changes from upstream 5.4
Change-Id: I5c9aad30ee41c04e2b77372fc309568aab88d324
Signed-off-by: Blagovest Kolenichev <bkolenichev@codeaurora.org>
* refs/heads/tmp-fde6e0c:
Linux 5.4.11
usb: missing parentheses in USE_NEW_SCHEME
USB: serial: option: add Telit ME910G1 0x110a composition
USB: core: fix check for duplicate endpoints
usb: dwc3: gadget: Fix request complete check
net/mlx5: DR, Init lists that are used in rule's member
net/mlx5e: Fix hairpin RSS table size
net/mlx5: DR, No need for atomic refcount for internal SW steering resources
net/mlx5e: Always print health reporter message to dmesg
net: dsa: mv88e6xxx: force cmode write on 6141/6341
net/mlx5: Move devlink registration before interfaces load
macb: Don't unregister clks unconditionally
vlan: vlan_changelink() should propagate errors
vlan: fix memory leak in vlan_dev_set_egress_priority
net: sch_prio: When ungrafting, replace with FIFO
mlxsw: spectrum_qdisc: Ignore grafting of invisible FIFO
vxlan: fix tos value before xmit
tcp: fix "old stuff" D-SACK causing SACK to be treated as D-SACK
sctp: free cmd->obj.chunk for the unprocessed SCTP_CMD_REPLY
sch_cake: avoid possible divide by zero in cake_enqueue()
pkt_sched: fq: do not accept silly TCA_FQ_QUANTUM
net: usb: lan78xx: fix possible skb leak
net: stmmac: Fixed link does not need MDIO Bus
net: stmmac: dwmac-sunxi: Allow all RGMII modes
net: stmmac: dwmac-sun8i: Allow all RGMII modes
net: freescale: fec: Fix ethtool -d runtime PM
net: dsa: mv88e6xxx: Preserve priority when setting CPU port.
macvlan: do not assume mac_header is set in macvlan_broadcast()
gtp: fix bad unlock balance in gtp_encap_enable_socket
tracing: Do not create directories if lockdown is in affect
selftests: pmtu: fix init mtu value in description
hv_netvsc: Fix unwanted rx_table reset
llc2: Fix return statement of llc_stat_ev_rx_null_dsap_xid_c (and _test_c)
s390/qeth: don't return -ENOTSUPP to userspace
s390/qeth: fix promiscuous mode after reset
s390/qeth: handle error due to unsupported transport mode
sbitmap: only queue kyber's wait callback if not already active
parisc: Fix compiler warnings in debug_core.c
block: fix memleak when __blk_rq_map_user_iov() is failed
s390/dasd: fix memleak in path handling error case
s390/dasd/cio: Interpret ccw_device_get_mdc return value correctly
block: Fix a lockdep complaint triggered by request queue flushing
arm64: cpu_errata: Add Hisilicon TSV110 to spectre-v2 safe list
platform/x86: pcengines-apuv2: fix simswap GPIO assignment
net/ixgbe: Fix concurrency issues between config flow and XSK
net/i40e: Fix concurrency issues between config flow and XSK
net/mlx5e: Fix concurrency issues between config flow and XSK
xsk: Add rcu_read_lock around the XSK wakeup
tpm/tpm_ftpm_tee: add shutdown call back
drm/exynos: gsc: add missed component_del
s390/purgatory: do not build purgatory with kcov, kasan and friends
net: stmmac: Always arm TX Timer at end of transmission start
net: stmmac: RX buffer size must be 16 byte aligned
net: stmmac: xgmac: Clear previous RX buffer size
net: stmmac: Do not accept invalid MTU values
net: stmmac: Determine earlier the size of RX buffer
net: stmmac: selftests: Needs to check the number of Multicast regs
clk: Move clk_core_reparent_orphans() under CONFIG_OF
io_uring: don't wait when under-submitting
iommu/dma: Relax locking in iommu_dma_prepare_msi()
perf/smmuv3: Remove the leftover put_cpu() in error path
fs: call fsnotify_sb_delete after evict_inodes
fs: avoid softlockups in s_inodes iterators
block: end bio with BLK_STS_AGAIN in case of non-mq devs and REQ_NOWAIT
usb: typec: fusb302: Fix an undefined reference to 'extcon_get_state'
psi: Fix a division error in psi poll()
sched/psi: Fix sampling error and rare div0 crashes with cgroups and high uptime
perf/x86/intel: Fix PT PMI handling
perf/x86: Fix potential out-of-bounds access
scripts: package: mkdebian: add missing rsync dependency
kconfig: don't crash on NULL expressions in expr_eq()
iommu/iova: Init the struct iova to fix the possible memleak
staging: axis-fifo: add unspecified HAS_IOMEM dependency
clk: at91: fix possible deadlock
spi: nxp-fspi: Ensure width is respected in spi-mem operations
regulator: rn5t618: fix module aliases
ASoC: wm8962: fix lambda value
rfkill: Fix incorrect check to avoid NULL pointer dereference
parisc: add missing __init annotation
parisc: fix compilation when KEXEC=n and KEXEC_FILE=y
net: usb: lan78xx: Fix error message format specifier
cxgb4: Fix kernel panic while accessing sge_info
bnx2x: Fix logic to get total no. of PFs per engine
bnx2x: Do not handle requests from VFs after parity
habanalabs: remove variable 'val' set but not used
habanalabs: rate limit error msg on waiting for CS
bpf: Clear skb->tstamp in bpf_redirect when necessary
ocxl: Fix potential memory leak on context creation
Btrfs: fix hole extent items with a zero size after range cloning
btrfs: handle error in btrfs_cache_block_group
powerpc/spinlocks: Include correct header for static key
powerpc/vcpu: Assume dedicated processors as non-preempt
Btrfs: fix cloning range with a hole when using the NO_HOLES feature
btrfs: Fix error messages in qgroup_rescan_init
powerpc: Ensure that swiotlb buffer is allocated from low memory
pinctrl: pinmux: fix a possible null pointer in pinmux_can_be_used_for_gpio
cfg80211: fix double-free after changing network namespace
mac80211: fix TID field in monitor mode transmit
clk: walk orphan list on clock provider registration
bus: ti-sysc: Fix missing reset delay handling
pinctrl: aspeed-g6: Fix LPC/eSPI mux configuration
ARM: imx_v6_v7_defconfig: Explicitly restore CONFIG_DEBUG_FS
arm64: dts: ls1028a: fix reboot node
samples: bpf: fix syscall_tp due to unused syscall
samples: bpf: Replace symbol compare of trace_event
kselftest: Support old perl versions
kselftest/runner: Print new line in print of timeout log
ARM: dts: am437x-gp/epos-evm: fix panel compatible
spi: spi-ti-qspi: Fix a bug when accessing non default CS
perf header: Fix false warning when there are no duplicate cache entries
perf metricgroup: Fix printing event names of metric group with multiple events
bpftool: Don't crash on missing jited insns or ksyms
bpf, mips: Limit to 33 tail calls
bpf, riscv: Limit to 33 tail calls
arm64: dts: ls1028a: fix typo in TMU calibration data
ARM: dts: bcm283x: Fix critical trip point
ARM: omap2plus_defconfig: Add back DEBUG_FS
ARM: dts: am335x-sancloud-bbe: fix phy mode
ASoC: SOF: Intel: split cht and byt debug window sizes
ASoC: SOF: loader: snd_sof_fw_parse_ext_data log warning on unknown header
ASoC: topology: Check return value for soc_tplg_pcm_create()
ASoC: topology: Check return value for snd_soc_add_dai_link()
reset: Do not register resource data for missing resets
spi: spi-cavium-thunderx: Add missing pci_release_regions()
ARM: dts: Cygnus: Fix MDIO node address/size cells
ARM: exynos_defconfig: Restore debugfs support
selftests: safesetid: Fix Makefile to set correct test program
selftests: safesetid: Check the return value of setuid/setgid
selftests: safesetid: Move link library to LDLIBS
selftests/ftrace: Fix multiple kprobe testcase
selftests/ftrace: Do not to use absolute debugfs path
selftests/ftrace: Fix ftrace test cases to check unsupported
selftests/ftrace: Fix to check the existence of set_ftrace_filter
ARM: dts: BCM5301X: Fix MDIO node address/size cells
netfilter: nf_tables_offload: return EOPNOTSUPP if rule specifies no actions
netfilter: nf_tables: skip module reference count bump on object updates
netfilter: nf_tables: validate NFT_DATA_VALUE after nft_data_init()
netfilter: nf_tables: validate NFT_SET_ELEM_INTERVAL_END
netfilter: nft_set_rbtree: bogus lookup/get on consecutive elements in named sets
netfilter: uapi: Avoid undefined left-shift in xt_sctp.h
ARM: vexpress: Set-up shared OPP table instead of individual for each CPU
ARM: dts: imx6ul: imx6ul-14x14-evk.dtsi: Fix SPI NOR probing
efi/earlycon: Remap entire framebuffer after page initialization
efi/gop: Fix memory leak in __gop_query32/64()
efi/gop: Return EFI_SUCCESS if a usable GOP was found
efi/gop: Return EFI_NOT_FOUND if there are no usable GOPs
selftests: netfilter: use randomized netns names
ASoC: Intel: bytcr_rt5640: Update quirk for Teclast X89
x86/efi: Update e820 with reserved EFI boot services data to fix kexec breakage
regulator: core: fix regulator_register() error paths to properly release rdev
libtraceevent: Copy pkg-config file to output folder when using O=
libtraceevent: Fix lib installation with O=
mwifiex: Fix heap overflow in mmwifiex_process_tdls_action_frame()
netfilter: nf_tables_offload: Check for the NETDEV_UNREGISTER event
x86/intel: Disable HPET on Intel Ice Lake platforms
netfilter: ctnetlink: netns exit must wait for callbacks
locking/spinlock/debug: Fix various data races
spi: fsl: Handle the single hardwired chipselect case
gpio: Handle counting of Freescale chipselects
spi: fsl: Fix GPIO descriptor support
ASoC: max98090: fix possible race conditions
regulator: fix use after free issue
spi: pxa2xx: Add support for Intel Jasper Lake
ASoC: rt5682: fix i2c arbitration lost issue
bpf: Fix passing modified ctx to ld/abs/ind instruction
USB: dummy-hcd: use usb_urb_dir_in instead of usb_pipein
ANDROID: Kconfig.gki: Add QCOM_SCM to QCOM Hidden configs
ANDROID: iommu/arm-smmu: Allow inherting stream mapping from bootloader
ANDROID: iommu/arm-smmu: Expose s2cr and smr structs to impl
ANDROID: iommu/arm-smmu: Don't blindly use first SMR to calculate mask
ANDROID: clk: qcom: Add sync_state = clk_sync_state for db845c clock providers
UPSTREAM: net: usbnet: Fix -Wcast-function-type
UPSTREAM: PM / QoS: Restore DEV_PM_QOS_MIN/MAX_FREQUENCY
UPSTREAM: PM / QoS: Reorder pm_qos/freq_qos/dev_pm_qos structs
UPSTREAM: USB: dummy-hcd: use usb_urb_dir_in instead of usb_pipein
ANDROID: update kernel ABI (perf_event changes)
BACKPORT: perf_event: Add support for LSM and SELinux checks
ANDROID: Enable HID_STEAM and JOYSTICK_XPAD as y
Conflicts:
drivers/iommu/arm-smmu.c
drivers/iommu/dma-iommu.c
include/linux/pm_qos.h
init/Kconfig.gki
kernel/sched/psi.c
Restored change a7f7e61270 ("usb: dwc3: gadget: Fix logical condition")
since it is safe due to import of 158cbd970b ("usb: dwc3: gadget:
Fix request complete check").
Change-Id: Id8931bdd4b8a6bde233d654abc87019fc6f2ec22
Signed-off-by: Blagovest Kolenichev <bkolenichev@codeaurora.org>
* refs/heads/tmp-9c06e34:
Linux 5.4.10
powerpc/pmem: Fix kernel crash due to wrong range value usage in flush_dcache_range
Change-Id: I7698b15341dca8cd65090f25b34e2bcd1cfaee81
Signed-off-by: Blagovest Kolenichev <bkolenichev@codeaurora.org>
* refs/heads/tmp-813bf83:
ANDROID: update abi for previous revert
Revert "BACKPORT: perf_event: Add support for LSM and SELinux checks"
Linux 5.4.9
mm/hugetlb: defer freeing of huge pages if in non-task context
hsr: fix a race condition in node list insertion and deletion
hsr: fix error handling routine in hsr_dev_finalize()
hsr: avoid debugfs warning message when module is remove
net: annotate lockless accesses to sk->sk_pacing_shift
perf/x86/intel/bts: Fix the use of page_private()
efi: Don't attempt to map RCI2 config table if it doesn't exist
lib/ubsan: don't serialize UBSAN report
xen/blkback: Avoid unmapping unmapped grant pages
mm/sparse.c: mark populate_section_memmap as __meminit
s390/smp: fix physical to logical CPU map for SMT
Btrfs: only associate the locked page with one async_chunk struct
btrfs: get rid of unique workqueue helper functions
ubifs: ubifs_tnc_start_commit: Fix OOB in layout_in_gaps
net: add annotations on hh->hh_len lockless accesses
xfs: periodically yield scrub threads to the scheduler
drm/i915/execlists: Fix annotation for decoupling virtual request
ath9k_htc: Discard undersized packets
ath9k_htc: Modify byte order for an error message
fix compat handling of FICLONERANGE, FIDEDUPERANGE and FS_IOC_FIEMAP
fs: cifs: Fix atime update check vs mtime
cifs: Fix lookup of root ses in DFS referral cache
tty: serial: msm_serial: Fix lockup for sysrq and oops
phy: renesas: rcar-gen3-usb2: Use platform_get_irq_optional() for optional irq
arm64: dts: meson: odroid-c2: Disable usb_otg bus to avoid power failed warning
dt-bindings: clock: renesas: rcar-usb2-clock-sel: Fix typo in example
media: usb: fix memory leak in af9005_identify_state
regulator: ab8500: Remove AB8505 USB regulator
media: flexcop-usb: ensure -EIO is returned on error condition
arm64: dts: meson-gxm-khadas-vim2: fix uart_A bluetooth node
arm64: dts: meson-gxl-s905x-khadas-vim: fix uart_A bluetooth node
Bluetooth: Fix memory leak in hci_connect_le_scan
Bluetooth: delete a stray unlock
Bluetooth: btusb: fix PM leak in error case of setup
powerpc/mm: Mark get_slice_psize() & slice_addr_is_low() as notrace
regulator: axp20x: Fix AXP22x ELDO2 regulator enable bitmask
spi: uniphier: Fix FIFO threshold
regulator: bd70528: Remove .set_ramp_delay for bd70528_ldo_ops
regulator: axp20x: Fix axp20x_set_ramp_delay
watchdog: tqmx86_wdt: Fix build error
net, sysctl: Fix compiler warning when only cBPF is present
netfilter: nf_queue: enqueue skbs with NULL dst
platform/x86: pmc_atom: Add Siemens CONNECT X300 to critclk_systems DMI table
xfs: don't check for AG deadlock for realtime files in bunmapi
firmware: arm_scmi: Avoid double free in error flow
cifs: Fix potential softlockups while refreshing DFS cache
of: overlay: add_changeset_property() memory leak
iommu/vt-d: Remove incorrect PSI capability check
perf callchain: Fix segfault in thread__resolve_callchain_sample()
ACPI: sysfs: Change ACPI_MASKABLE_GPE_MAX to 0x100
kernel/module.c: wakeup processes in module_wq on module unload
net/sched: annotate lockless accesses to qdisc->empty
HID: i2c-hid: Reset ALPS touchpads on resume
powerpc: Chunk calls to flush_dcache_range in arch_*_memory
nfsd4: fix up replay_matches_cache()
arm64: dts: qcom: msm8998-clamshell: Remove retention idle state
sunrpc: fix crash when cache_head become valid before update
PM / devfreq: Check NULL governor in available_governors_show
drm/msm: include linux/sched/task.h
spi: spi-fsl-dspi: Fix 16-bit word order in 32-bit XSPI mode
ftrace: Avoid potential division by zero in function profiler
arm64: Revert support for execute-only user mappings
exit: panic before exit_mm() on global init exit
scsi: lpfc: Fix rpi release when deleting vport
ALSA: firewire-motu: Correct a typo in the clock proc string
ALSA: pcm: Yet another missing check of non-cached buffer type
ALSA: cs4236: fix error return comparison of an unsigned integer
gen_initramfs_list.sh: fix 'bad variable name' error
dmaengine: virt-dma: Fix access after free in vchan_complete()
apparmor: fix aa_xattrs_match() may sleep while holding a RCU lock
mm/gup: fix memory leak in __gup_benchmark_ioctl
io_uring: use current task creds instead of allocating a new one
samples/trace_printk: Wait for IRQ work to finish
tracing: Fix endianness bug in histogram trigger
tracing: Have the histogram compare functions convert to u64 first
tracing: Avoid memory leak in process_system_preds()
tracing: Fix lock inversion in trace_event_enable_tgid_record()
rseq/selftests: Fix: Namespace gettid() for compatibility with glibc 2.30
riscv: ftrace: correct the condition logic in function graph tracer
clocksource: riscv: add notrace to riscv_sched_clock
gpiolib: fix up emulated open drain outputs
gpio: xtensa: fix driver build
libata: Fix retrieving of active qcs
ata: ahci_brcm: BCM7425 AHCI requires AHCI_HFLAG_DELAY_ENGINE
ata: ahci_brcm: Add missing clock management during recovery
ata: ahci_brcm: Fix AHCI resources management
ata: libahci_platform: Export again ahci_platform_<en/dis>able_phys()
bpf: Fix precision tracking for unbounded scalars
compat_ioctl: block: handle BLKGETZONESZ/BLKGETNRZONES
compat_ioctl: block: handle BLKREPORTZONE/BLKRESETZONE
compat_ioctl: block: handle Persistent Reservations
Btrfs: fix infinite loop during nocow writeback due to race
dmaengine: dma-jz4780: Also break descriptor chains on JZ4725B
dmaengine: Fix access to uninitialized dma_slave_caps
selftests/seccomp: Catch garbage on SECCOMP_IOCTL_NOTIF_RECV
samples/seccomp: Zero out members based on seccomp_notif_sizes
seccomp: Check that seccomp_notif is zeroed out by the user
selftests/seccomp: Zero out seccomp_notif
locks: print unsigned ino in /proc/locks
gcc-plugins: make it possible to disable CONFIG_GCC_PLUGINS again
pstore/ram: Fix error-path memory leak in persistent_ram_new() callers
pstore/ram: Write new dumps to start of recycled zones
ocfs2: fix the crash due to call ocfs2_get_dlm_debug once less
mm/oom: fix pgtables units mismatch in Killed process message
mm: move_pages: return valid node id in status if the page is already on the target node
memcg: account security cred as well to kmemcg
mm/zsmalloc.c: fix the migrated zspage statistics.
mm/memory_hotplug: shrink zones when offlining memory
media: cec: check 'transmit_in_progress', not 'transmitting'
media: cec: avoid decrementing transmit_queue_sz if it is 0
media: cec: CEC 2.0-only bcast messages were ignored
media: pulse8-cec: fix lost cec_transmit_attempt_done() call
MIPS: Avoid VDSO ABI breakage due to global register variable
MIPS: BPF: eBPF JIT: check for MIPS ISA compliance in Kconfig
MIPS: BPF: Disable MIPS32 eBPF JIT
drm/amdgpu/smu: add metrics table lock for vega20 (v2)
drm/amdgpu/smu: add metrics table lock for navi (v2)
drm/amdgpu/smu: add metrics table lock for arcturus (v2)
drm/amdgpu/smu: add metrics table lock
drm/sun4i: hdmi: Remove duplicate cleanup calls
ALSA: hda/realtek - Add headset Mic no shutup for ALC283
ALSA: hda - Apply sync-write workaround to old Intel platforms, too
ALSA: usb-audio: set the interface format after resume on Dell WD19
ALSA: usb-audio: fix set_format altsetting sanity check
ALSA: ice1724: Fix sleep-in-atomic in Infrasonic Quartet support code
mm: drop mmap_sem before calling balance_dirty_pages() in write fault
block: add bio_truncate to fix guard_bio_eod
netfilter: nft_tproxy: Fix port selector on Big Endian
ALSA: hda - Downgrade error message for single-cmd fallback
taskstats: fix data-race
shmem: pin the file in shmem_fault() if mmap_sem is dropped
tcp: fix data-race in tcp_recvmsg()
ALSA: hda - fixup for the bass speaker on Lenovo Carbon X1 7th gen
PCI: Fix missing inline for pci_pr3_present()
ALSA: hda: Allow HDA to be runtime suspended when dGPU is not bound to a driver
PCI: Add a helper to check Power Resource Requirements _PR3 existence
ALSA: hda/realtek - Enable the bass speaker of ASUS UX431FLC
ALSA: hda/realtek - Add Bass Speaker and fixed dac for bass speaker
PM / hibernate: memory_bm_find_bit(): Tighten node optimisation
xen/balloon: fix ballooned page accounting without hotplug enabled
xen-blkback: prevent premature module unload
IB/mlx5: Fix steering rule of drop and count
IB/mlx4: Follow mirror sequence of device add during device removal
RDMA/counter: Prevent auto-binding a QP which are not tracked with res
s390/cpum_sf: Avoid SBD overflow condition in irq handler
s390/cpum_sf: Adjust sampling interval to avoid hitting sample limits
md: raid1: check rdev before reference in raid1_sync_request func
raid5: need to set STRIPE_HANDLE for batch head
afs: Fix creation calls in the dynamic root to fail with EOPNOTSUPP
afs: Fix mountpoint parsing
net: make socket read/write_iter() honor IOCB_NOWAIT
usb: gadget: fix wrong endpoint desc
drm/nouveau/kms/nv50-: fix panel scaling
drm/nouveau: Fix drm-core using atomic code-paths on pre-nv50 hardware
drm/nouveau: Move the declaration of struct nouveau_conn_atom up a bit
staging/wlan-ng: add CRC32 dependency in Kconfig
scsi: iscsi: Avoid potential deadlock in iscsi_if_rx func
scsi: libsas: stop discovering if oob mode is disconnected
scsi: iscsi: qla4xxx: fix double free in probe
scsi: qla2xxx: Ignore PORT UPDATE after N2N PLOGI
scsi: qla2xxx: Don't defer relogin unconditonally
scsi: qla2xxx: Send Notify ACK after N2N PLOGI
scsi: qla2xxx: Configure local loop for N2N target
scsi: qla2xxx: Fix PLOGI payload and ELS IOCB dump length
scsi: qla2xxx: Don't call qlt_async_event twice
scsi: qla2xxx: Drop superfluous INIT_WORK of del_work
scsi: qla2xxx: Use explicit LOGO in target mode
scsi: lpfc: Fix memory leak on lpfc_bsg_write_ebuf_set func
rxe: correctly calculate iCRC for unaligned payloads
RDMA/cma: add missed unregister_pernet_subsys in init failure
afs: Fix SELinux setting security label on /afs
afs: Fix afs_find_server lookups for ipv4 peers
PM / devfreq: Don't fail devfreq_dev_release if not in list
PM / devfreq: Set scaling_max_freq to max on OPP notifier error
PM / devfreq: Fix devfreq_notifier_call returning errno
iio: adc: max9611: Fix too short conversion time delay
iio: st_accel: Fix unused variable warning
nvme/pci: Fix read queue count
nvme/pci: Fix write and poll queue types
drm/amd/display: update dispclk and dppclk vco frequency
drm/amd/display: Reset steer fifo before unblanking the stream
drm/amd/display: Change the delay time before enabling FEC
drm/amd/display: Fixed kernel panic when booting with DP-to-HDMI dongle
drm/amd/display: Map DSC resources 1-to-1 if numbers of OPPs and DSCs are equal
drm/amdgpu: add cache flush workaround to gfx8 emit_fence
drm/amdgpu: add header line for power profile on Arcturus
drm/amdgpu: add check before enabling/disabling broadcast mode
nvme-fc: fix double-free scenarios on hw queues
nvme_fc: add module to ops template to allow module references
drm/mcde: dsi: Fix invalid pointer dereference if panel cannot be found
ANDROID: update kernel ABI representation
BACKPORT: perf_event: Add support for LSM and SELinux checks
ANDROID: Update ABI representation
ANDROID: GKI: clk: Don't disable unused clocks with sync state support
ANDROID: GKI: clk: Add support for clock providers with sync state
ANDROID: GKI: driver core: Add dev_has_sync_state()
ANDROID: sdcardfs: fix -ENOENT lookup race issue
CHROMIUM: cgroups: relax permissions on moving tasks between cgroups
UPSTREAM: selinux: sidtab reverse lookup hash table
ANDROID: update abi for 5.4.8 release
Conflicts:
Documentation/devicetree/bindings
Documentation/devicetree/bindings/clock/renesas,rcar-usb2-clock-sel.txt
arch/arm64/mm/mmu.c
include/linux/clk-provider.h
Change-Id: I668e3fd58b4ad5db037f700b66f89cdf845094b5
Signed-off-by: Blagovest Kolenichev <bkolenichev@codeaurora.org>