Bring over the prefetch and drain implementation from
drivers/staging/android/ion/heaps/ion_system_secure_heap.c from
msm-5.4, as of commit 48a845e5f683 ("ion: Use a freezable unbound
workqueue for the memory prefetch work items"), which is used for
asynchronously pre-loading the pools for clients who want the pools
filled with a certain amount of memory in advance of their use case
starting.
Change-Id: I5a2df4b75d86eb917cd0848107e7f920fb735434
Signed-off-by: Chris Goldsworthy <cgoldswo@codeaurora.org>
Add pool refilling using the implementation in ion_msm_page_pool.c and
ion_msm_page_pool.h as of commit f10ff61bd1 ("Merge "dt-bindings:
ipcc: Add WPSS client to IPCC header"").
Change-Id: I8eebdf532b4d878d6bee65de15a776a5643a307f
Signed-off-by: Chris Goldsworthy <cgoldswo@codeaurora.org>
Remove qcom_heap_helpers.o, since it is unused. Make qcom_sg_ops.o as
being included in the base DMA-BUF Heaps module.
Change-Id: I1e670ebda0872136c2d38e997d55a12a84375db6
Signed-off-by: Chris Goldsworthy <cgoldswo@codeaurora.org>
Use deferred free functionality as of commit f10ff61bd1 ("Merge
"dt-bindings: ipcc: Add WPSS client to IPCC header""), so as to speed
up dma-buf releases by having the buffer's memory freed asynchronously
by a helper thread.
Change-Id: Ie32430fe536e0cbc2abc56a259ae9c23e2e090a0
Signed-off-by: Chris Goldsworthy <cgoldswo@codeaurora.org>
This reverts commit e20adfb1eb.
__refrigerator is needed for using the deferred free module.
Correspondingly, add it to the whitelist.
Change-Id: I0fc8a831024242b9894d9d5372c1540ee16c0db9
Signed-off-by: Chris Goldsworthy <cgoldswo@codeaurora.org>
Remove all secure-by-default support from the system heap.
Change-Id: I3ad2fbb94234dc27470df55faf0730e20f53cd42
Signed-off-by: Chris Goldsworthy <cgoldswo@codeaurora.org>
Enable the system secure heap, which allocates memory that is secure
by default, and also pools it.
Change-Id: Ic94b97ca74dfec59dbe88df840671b6e36bc60ad
Signed-off-by: Chris Goldsworthy <cgoldswo@codeaurora.org>
Allow the secure pools to retain pages that are still hyp-assigned to
their respective end points, and only release these pages under memory
pressure.
Change-Id: I357b342ece8748d2296e7787ed23505abafde15b
Signed-off-by: Chris Goldsworthy <cgoldswo@codeaurora.org>
* refs/heads/tmp-99941e2:
ANDROID: gki_defconfig: Enable NET_CLS_{BASIC,TCINDEX,MATCHALL} & NET_ACT_{GACT,MIRRED}
FROMLIST: selftests: Add a MREMAP_DONTUNMAP selftest for shmem
FROMLIST: mm: Extend MREMAP_DONTUNMAP to non-anonymous mappings
ANDROID: GKI: enable CONFIG_CMA_SYSFS
ANDROID: make cma_sysfs experimental
FROMLIST: mm: cma: support sysfs
ANDROID: cpuidle: Move vendor hook to enter proper state
ANDROID: fix up ext4 build from 5.10.26
ANDROID: GKI: Enable DETECT_HUNG_TASK
ANDROID: refresh ABI XML to new version
ANDROID: GKI: refresh ABI XML
Linux 5.10.26
cifs: Fix preauth hash corruption
x86/apic/of: Fix CPU devicetree-node lookups
genirq: Disable interrupts for force threaded handlers
firmware/efi: Fix a use after bug in efi_mem_reserve_persistent
efi: use 32-bit alignment for efi_guid_t literals
static_call: Fix static_call_update() sanity check
MAINTAINERS: move the staging subsystem to lists.linux.dev
MAINTAINERS: move some real subsystems off of the staging mailing list
ext4: fix rename whiteout with fast commit
ext4: fix potential error in ext4_do_update_inode
ext4: do not try to set xattr into ea_inode if value is empty
ext4: stop inode update before return
ext4: find old entry again if failed to rename whiteout
ext4: fix error handling in ext4_end_enable_verity()
efivars: respect EFI_UNSUPPORTED return from firmware
x86: Introduce TS_COMPAT_RESTART to fix get_nr_restart_syscall()
x86: Move TS_COMPAT back to asm/thread_info.h
kernel, fs: Introduce and use set_restart_fn() and arch_set_restart_data()
x86/ioapic: Ignore IRQ2 again
perf/x86/intel: Fix unchecked MSR access error caused by VLBR_EVENT
perf/x86/intel: Fix a crash caused by zero PEBS status
PCI: rpadlpar: Fix potential drc_name corruption in store functions
counter: stm32-timer-cnt: fix ceiling miss-alignment with reload register
counter: stm32-timer-cnt: fix ceiling write max value
iio: hid-sensor-temperature: Fix issues of timestamp channel
iio: hid-sensor-prox: Fix scale not correct issue
iio: hid-sensor-humidity: Fix alignment issue of timestamp channel
iio: adc: adi-axi-adc: add proper Kconfig dependencies
iio: adc: ad7949: fix wrong ADC result due to incorrect bit mask
iio: adc: ab8500-gpadc: Fix off by 10 to 3
iio: gyro: mpu3050: Fix error handling in mpu3050_trigger_handler
iio: adis16400: Fix an error code in adis16400_initial_setup()
iio:adc:qcom-spmi-vadc: add default scale to LR_MUX2_BAT_ID channel
iio:adc:stm32-adc: Add HAS_IOMEM dependency
thunderbolt: Increase runtime PM reference count on DP tunnel discovery
thunderbolt: Initialize HopID IDAs in tb_switch_alloc()
usb: dwc3: gadget: Prevent EP queuing while stopping transfers
usb: dwc3: gadget: Allow runtime suspend if UDC unbinded
usb: typec: tcpm: Invoke power_supply_changed for tcpm-source-psy-
usb: typec: Remove vdo[3] part of tps6598x_rx_identity_reg struct
usb: gadget: configfs: Fix KASAN use-after-free
usbip: Fix incorrect double assignment to udc->ud.tcp_rx
usb-storage: Add quirk to defeat Kindle's automatic unload
powerpc: Force inlining of cpu_has_feature() to avoid build failure
gfs2: bypass signal_our_withdraw if no journal
gfs2: move freeze glock outside the make_fs_rw and _ro functions
gfs2: Add common helper for holding and releasing the freeze glock
regulator: pca9450: Clear PRESET_EN bit to fix BUCK1/2/3 voltage setting
regulator: pca9450: Enable system reset on WDOG_B assertion
regulator: pca9450: Add SD_VSEL GPIO for LDO5
net: bonding: fix error return code of bond_neigh_init()
io_uring: clear IOCB_WAITQ for non -EIOCBQUEUED return
io_uring: don't attempt IO reissue from the ring exit path
drm/amd/pm: fulfill the Polaris implementation for get_clock_by_type_with_latency()
s390/qeth: schedule TX NAPI on QAOB completion
ibmvnic: remove excessive irqsave
media: cedrus: h264: Support profile controls
io_uring: fix inconsistent lock state
iwlwifi: Add a new card for MA family
drm/amd/display: turn DPMS off on connector unplug
MIPS: compressed: fix build with enabled UBSAN
net: phy: micrel: set soft_reset callback to genphy_soft_reset for KSZ8081
i40e: Fix endianness conversions
powerpc/sstep: Fix darn emulation
powerpc/sstep: Fix load-store and update emulation
RDMA/mlx5: Allow creating all QPs even when non RDMA profile is used
scsi: isci: Pass gfp_t flags in isci_port_bc_change_received()
scsi: isci: Pass gfp_t flags in isci_port_link_up()
scsi: isci: Pass gfp_t flags in isci_port_link_down()
scsi: mvsas: Pass gfp_t flags to libsas event notifiers
scsi: libsas: Introduce a _gfp() variant of event notifiers
scsi: libsas: Remove notifier indirection
scsi: pm8001: Neaten debug logging macros and uses
scsi: pm80xx: Fix pm8001_mpi_get_nvmd_resp() race condition
scsi: pm80xx: Make running_req atomic
scsi: pm80xx: Make mpi_build_cmd locking consistent
module: harden ELF info handling
module: avoid *goto*s in module_sig_check()
module: merge repetitive strings in module_sig_check()
RDMA/rtrs: Fix KASAN: stack-out-of-bounds bug
RDMA/rtrs: Introduce rtrs_post_send
RDMA/rtrs-srv: Jump to dereg_mr label if allocate iu fails
RDMA/rtrs: Remove unnecessary argument dir of rtrs_iu_free
bpf: Declare __bpf_free_used_maps() unconditionally
serial: stm32: fix DMA initialization error handling
tty: serial: stm32-usart: Remove set but unused 'cookie' variables
ibmvnic: serialize access to work queue on remove
ibmvnic: add some debugs
nvme-rdma: fix possible hang when failing to set io queues
gpiolib: Assign fwnode to parent's if no primary one provided
counter: stm32-timer-cnt: Report count function when SLAVE_MODE_DISABLED
RISC-V: correct enum sbi_ext_rfence_fid
scsi: ufs: ufs-mediatek: Correct operator & -> &&
scsi: myrs: Fix a double free in myrs_cleanup()
scsi: lpfc: Fix some error codes in debugfs
riscv: Correct SPARSEMEM configuration
cifs: fix allocation size on newly created files
kbuild: Fix <linux/version.h> for empty SUBLEVEL or PATCHLEVEL again
net/qrtr: fix __netdev_alloc_skb call
io_uring: ensure that SQPOLL thread is started for exit
pstore: Fix warning in pstore_kill_sb()
i915/perf: Start hrtimer only if sampling the OA buffer
sunrpc: fix refcount leak for rpc auth modules
vhost_vdpa: fix the missing irq_bypass_unregister_producer() invocation
vfio: IOMMU_API should be selected
svcrdma: disable timeouts on rdma backchannel
NFSD: fix dest to src mount in inter-server COPY
NFSD: Repair misuse of sv_lock in 5.10.16-rt30.
nfsd: don't abort copies early
nfsd: Don't keep looking up unhashed files in the nfsd file cache
nvmet: don't check iosqes,iocqes for discovery controllers
nvme-tcp: fix a NULL deref when receiving a 0-length r2t PDU
nvme-tcp: fix possible hang when failing to set io queues
nvme-tcp: fix misuse of __smp_processor_id with preemption enabled
nvme: fix Write Zeroes limitations
ALSA: usb-audio: Fix unintentional sign extension issue
afs: Stop listxattr() from listing "afs.*" attributes
afs: Fix accessing YFS xattrs on a non-YFS server
ASoC: simple-card-utils: Do not handle device clock
ASoC: qcom: lpass-cpu: Fix lpass dai ids parse
ASoC: codecs: wcd934x: add a sanity check in set channel map
ASoC: qcom: sdm845: Fix array out of range on rx slim channels
ASoC: qcom: sdm845: Fix array out of bounds access
ASoC: SOF: intel: fix wrong poll bits in dsp power down
ASoC: SOF: Intel: unregister DMIC device on probe error
ASoC: Intel: bytcr_rt5640: Fix HP Pavilion x2 10-p0XX OVCD current threshold
ASoC: fsl_ssi: Fix TDM slot setup for I2S mode
drm/amd/display: Correct algorithm for reversed gamma
vhost-vdpa: set v->config_ctx to NULL if eventfd_ctx_fdget() fails
vhost-vdpa: fix use-after-free of v->config_ctx
btrfs: fix slab cache flags for free space tree bitmap
btrfs: fix race when cloning extent buffer during rewind of an old root
zonefs: fix to update .i_wr_refcnt correctly in zonefs_open_zone()
zonefs: prevent use of seq files as swap file
zonefs: Fix O_APPEND async write handling
s390/pci: fix leak of PCI device structure
s390/pci: remove superfluous zdev->zbus check
s390/pci: refactor zpci_create_device()
s390/vtime: fix increased steal time accounting
Revert "PM: runtime: Update device status before letting suppliers suspend"
ALSA: hda/realtek: fix mute/micmute LEDs for HP 850 G8
ALSA: hda/realtek: fix mute/micmute LEDs for HP 440 G8
ALSA: hda/realtek: fix mute/micmute LEDs for HP 840 G8
ALSA: hda/realtek: Apply headset-mic quirks for Xiaomi Redmibook Air
ALSA: hda: generic: Fix the micmute led init state
ALSA: hda/realtek: apply pin quirk for XiaomiNotebook Pro
ALSA: dice: fix null pointer dereference when node is disconnected
spi: cadence: set cqspi to the driver_data field of struct device
ASoC: ak5558: Add MODULE_DEVICE_TABLE
ASoC: ak4458: Add MODULE_DEVICE_TABLE
ANDROID: refresh ABI XML to new version
ANDROID: refresh ABI
Linux 5.10.25
net: dsa: b53: Support setting learning on port
ALSA: usb-audio: Don't avoid stopping the stream at disconnection
Revert "nfsd4: a client's own opens needn't prevent delegations"
Revert "nfsd4: remove check_conflicting_opens warning"
fuse: fix live lock in fuse_iget()
RDMA/srp: Fix support for unpopulated and unbalanced NUMA nodes
bpf, selftests: Fix up some test_verifier cases for unprivileged
bpf: Add sanity check for upper ptr_limit
bpf: Simplify alu_limit masking for pointer arithmetic
bpf: Fix off-by-one for area size in creating mask to left
bpf: Prohibit alu ops for pointer types not defining ptr_limit
crypto: x86/aes-ni-xts - use direct calls to and 4-way stride
crypto: aesni - Use TEST %reg,%reg instead of CMP $0,%reg
Linux 5.10.24
RDMA/umem: Use ib_dma_max_seg_size instead of dma_get_max_seg_size
KVM: arm64: Fix nVHE hyp panic host context restore
xen/events: avoid handling the same event on two cpus at the same time
xen/events: don't unmask an event channel when an eoi is pending
mm/page_alloc.c: refactor initialization of struct page for holes in memory layout
KVM: arm64: Ensure I-cache isolation between vcpus of a same VM
mm/madvise: replace ptrace attach requirement for process_madvise
mm/userfaultfd: fix memory corruption due to writeprotect
KVM: arm64: Fix exclusive limit for IPA size
KVM: arm64: Reject VM creation when the default IPA size is unsupported
KVM: arm64: nvhe: Save the SPE context early
KVM: arm64: Avoid corrupting vCPU context register in guest exit
KVM: arm64: Fix range alignment when walking page tables
KVM: kvmclock: Fix vCPUs > 64 can't be online/hotpluged
KVM: x86: Ensure deadline timer has truly expired before posting its IRQ
x86/entry: Fix entry/exit mismatch on failed fast 32-bit syscalls
x86/sev-es: Use __copy_from_user_inatomic()
x86/sev-es: Correctly track IRQ states in runtime #VC handler
x86/entry: Move nmi entry/exit into common code
x86/sev-es: Check regs->sp is trusted before adjusting #VC IST stack
x86/sev-es: Introduce ip_within_syscall_gap() helper
x86/unwind/orc: Disable KASAN checking in the ORC unwinder, part 2
binfmt_misc: fix possible deadlock in bm_register_write
powerpc: Fix missing declaration of [en/dis]able_kernel_vsx()
powerpc: Fix inverted SET_FULL_REGS bitop
powerpc/64s: Fix instruction encoding for lis in ppc_function_entry()
efi: stub: omit SetVirtualAddressMap() if marked unsupported in RT_PROP table
sched/membarrier: fix missing local execution of ipi_sync_rq_state()
linux/compiler-clang.h: define HAVE_BUILTIN_BSWAP*
zram: fix return value on writeback_store
include/linux/sched/mm.h: use rcu_dereference in in_vfork()
stop_machine: mark helpers __always_inline
seqlock,lockdep: Fix seqcount_latch_init()
powerpc/64s/exception: Clean up a missed SRR specifier
hrtimer: Update softirq_expires_next correctly after __hrtimer_get_next_event()
perf/x86/intel: Set PERF_ATTACH_SCHED_CB for large PEBS and LBR
perf/core: Flush PMU internal buffers for per-CPU events
arm64: mm: use a 48-bit ID map when possible on 52-bit VA builds
configfs: fix a use-after-free in __configfs_open_file
nvme-fc: fix racing controller reset and create association
block: rsxx: fix error return code of rsxx_pci_probe()
NFSv4.2: fix return value of _nfs4_get_security_label()
NFS: Don't gratuitously clear the inode cache when lookup failed
NFS: Don't revalidate the directory permissions on a lookup failure
SUNRPC: Set memalloc_nofs_save() for sync tasks
arm64/mm: Fix pfn_valid() for ZONE_DEVICE based memory
cpufreq: qcom-hw: Fix return value check in qcom_cpufreq_hw_cpu_init()
cpufreq: qcom-hw: fix dereferencing freed memory 'data'
sh_eth: fix TRSCER mask for R7S72100
staging: comedi: pcl818: Fix endian problem for AI command data
staging: comedi: pcl711: Fix endian problem for AI command data
staging: comedi: me4000: Fix endian problem for AI command data
staging: comedi: dmm32at: Fix endian problem for AI command data
staging: comedi: das800: Fix endian problem for AI command data
staging: comedi: das6402: Fix endian problem for AI command data
staging: comedi: adv_pci1710: Fix endian problem for AI command data
staging: comedi: addi_apci_1500: Fix endian problem for command sample
staging: comedi: addi_apci_1032: Fix endian problem for COS sample
staging: rtl8192e: Fix possible buffer overflow in _rtl92e_wx_set_scan
staging: rtl8712: Fix possible buffer overflow in r8712_sitesurvey_cmd
staging: ks7010: prevent buffer overflow in ks_wlan_set_scan()
staging: rtl8188eu: fix potential memory corruption in rtw_check_beacon_data()
staging: rtl8712: unterminated string leads to read overflow
staging: rtl8188eu: prevent ->ssid overflow in rtw_wx_set_scan()
staging: rtl8192u: fix ->ssid overflow in r8192_wx_set_scan()
misc: fastrpc: restrict user apps from sending kernel RPC messages
misc/pvpanic: Export module FDT device table
Revert "serial: max310x: rework RX interrupt handling"
usbip: fix vudc usbip_sockfd_store races leading to gpf
usbip: fix vhci_hcd attach_store() races leading to gpf
usbip: fix stub_dev usbip_sockfd_store() races leading to gpf
usbip: fix vudc to check for stream socket
usbip: fix vhci_hcd to check for stream socket
usbip: fix stub_dev to check for stream socket
USB: serial: cp210x: add some more GE USB IDs
USB: serial: cp210x: add ID for Acuity Brands nLight Air Adapter
USB: serial: ch341: add new Product ID
USB: serial: io_edgeport: fix memory leak in edge_startup
xhci: Fix repeated xhci wake after suspend due to uncleared internal wake state
usb: xhci: Fix ASMedia ASM1042A and ASM3242 DMA addressing
xhci: Improve detection of device initiated wake signal.
usb: xhci: do not perform Soft Retry for some xHCI hosts
usb: renesas_usbhs: Clear PIPECFG for re-enabling pipe with other EPNUM
USB: usblp: fix a hang in poll() if disconnected
usb: dwc3: qcom: Honor wakeup enabled/disabled state
usb: dwc3: qcom: add ACPI device id for sc8180x
usb: dwc3: qcom: add URS Host support for sdm845 ACPI boot
usb: dwc3: qcom: Add missing DWC3 OF node refcount decrement
usb: gadget: f_uac1: stop playback on function disable
usb: gadget: f_uac2: always increase endpoint max_packet_size by one audio slot
USB: gadget: u_ether: Fix a configfs return code
USB: gadget: udc: s3c2410_udc: fix return value check in s3c2410_udc_probe()
Goodix Fingerprint device is not a modem
cifs: do not send close in compound create+close requests
mmc: cqhci: Fix random crash when remove mmc module/card
mmc: core: Fix partition switch time for eMMC
mmc: mmci: Add MMC_CAP_NEED_RSP_BUSY for the stm32 variants
xen/events: reset affinity of 2-level event when tearing it down
software node: Fix node registration
s390/dasd: fix hanging IO request during DASD driver unbind
s390/dasd: fix hanging DASD driver unbind
arm64: perf: Fix 64-bit event counter read truncation
arm64: mte: Map hotplugged memory as Normal Tagged
arm64: kasan: fix page_alloc tagging with DEBUG_VIRTUAL
block: Try to handle busy underlying device on discard
block: Discard page cache of zone reset target range
Revert 95ebabde382c ("capabilities: Don't allow writing ambiguous v3 file capabilities")
ALSA: usb-audio: fix use after free in usb_audio_disconnect
ALSA: usb-audio: fix NULL ptr dereference in usb_audio_probe
ALSA: usb-audio: Disable USB autosuspend properly in setup_disable_autosuspend()
ALSA: usb-audio: Apply the control quirk to Plantronics headsets
ALSA: usb-audio: Fix "cannot get freq eq" errors on Dell AE515 sound bar
ALSA: hda: Avoid spurious unsol event handling during S3/S4
ALSA: hda: Flush pending unsolicited events before suspend
ALSA: hda: Drop the BATCH workaround for AMD controllers
ALSA: hda/ca0132: Add Sound BlasterX AE-5 Plus support
ALSA: hda/conexant: Add quirk for mute LED control on HP ZBook G5
ALSA: hda/hdmi: Cancel pending works before suspend
ALSA: usb: Add Plantronics C320-M USB ctrl msg delay quirk
ARM: efistub: replace adrl pseudo-op with adr_l macro invocation
ARM: assembler: introduce adr_l, ldr_l and str_l macros
ARM: 9029/1: Make iwmmxt.S support Clang's integrated assembler
mmc: sdhci: Update firmware interface API
clk: qcom: gpucc-msm8998: Add resets, cxc, fix flags on gpu_gx_gdsc
scsi: target: core: Prevent underflow for service actions
scsi: target: core: Add cmd length set before cmd complete
scsi: libiscsi: Fix iscsi_prep_scsi_cmd_pdu() error handling
sysctl.c: fix underflow value setting risk in vm_table
drivers/base/memory: don't store phys_device in memory blocks
s390/smp: __smp_rescan_cpus() - move cpumask away from stack
kasan: fix memory corruption in kasan_bitops_tags test
i40e: Fix memory leak in i40e_probe
PCI: Fix pci_register_io_range() memory leak
kbuild: clamp SUBLEVEL to 255
ext4: don't try to processed freed blocks until mballoc is initialized
PCI/LINK: Remove bandwidth notification
drivers/base: build kunit tests without structleak plugin
PCI: mediatek: Add missing of_node_put() to fix reference leak
PCI: xgene-msi: Fix race in installing chained irq handler
Input: applespi - don't wait for responses to commands indefinitely.
sparc64: Use arch_validate_flags() to validate ADI flag
sparc32: Limit memblock allocation to low memory
clk: qcom: gdsc: Implement NO_RET_PERIPH flag
iommu/amd: Fix performance counter initialization
powerpc/64: Fix stack trace not displaying final frame
HID: logitech-dj: add support for the new lightspeed connection iteration
powerpc/perf: Record counter overflow always if SAMPLE_IP is unset
powerpc: improve handling of unrecoverable system reset
spi: stm32: make spurious and overrun interrupts visible
powerpc/pci: Add ppc_md.discover_phbs()
Platform: OLPC: Fix probe error handling
mmc: sdhci-iproc: Add ACPI bindings for the RPi
mmc: mediatek: fix race condition between msdc_request_timeout and irq
mmc: mxs-mmc: Fix a resource leak in an error handling path in 'mxs_mmc_probe()'
iommu/vt-d: Clear PRQ overflow only when PRQ is empty
udf: fix silent AED tagLocation corruption
scsi: ufs: WB is only available on LUN #0 to #7
i2c: rcar: optimize cacheline to minimize HW race condition
i2c: rcar: faster irq code to minimize HW race condition
ath11k: fix AP mode for QCA6390
ath11k: start vdev if a bss peer is already created
ath11k: peer delete synchronization with firmware
net: enetc: initialize RFS/RSS memories for unused ports too
enetc: Fix unused var build warning for CONFIG_OF
net: dsa: tag_mtk: fix 802.1ad VLAN egress
net: dsa: tag_ar9331: let DSA core deal with TX reallocation
net: dsa: tag_gswip: let DSA core deal with TX reallocation
net: dsa: tag_dsa: let DSA core deal with TX reallocation
net: dsa: tag_brcm: let DSA core deal with TX reallocation
net: dsa: tag_edsa: let DSA core deal with TX reallocation
net: dsa: tag_lan9303: let DSA core deal with TX reallocation
net: dsa: tag_mtk: let DSA core deal with TX reallocation
net: dsa: tag_ocelot: let DSA core deal with TX reallocation
net: dsa: tag_qca: let DSA core deal with TX reallocation
net: dsa: trailer: don't allocate additional memory for padding/tagging
net: dsa: tag_ksz: don't allocate additional memory for padding/tagging
net: dsa: implement a central TX reallocation procedure
s390/qeth: fix notification for pending buffers during teardown
s390/qeth: improve completion of pending TX buffers
s390/qeth: remove QETH_QDIO_BUF_HANDLED_DELAYED state
s390/qeth: don't replace a fully completed async TX buffer
net: hns3: fix error mask definition of flow director
cifs: fix credit accounting for extra channel
media: rc: compile rc-cec.c into rc-core
media: v4l: vsp1: Fix bru null pointer access
media: v4l: vsp1: Fix uif null pointer access
media: rkisp1: params: fix wrong bits settings
media: usbtv: Fix deadlock on suspend
sh_eth: fix TRSCER mask for R7S9210
qxl: Fix uninitialised struct field head.surface_id
s390/crypto: return -EFAULT if copy_to_user() fails
s390/cio: return -EFAULT if copy_to_user() fails
drm/i915: Wedge the GPU if command parser setup fails
drm/shmem-helpers: vunmap: Don't put pages for dma-buf
drm: meson_drv add shutdown function
drm: Use USB controller's DMA mask when importing dmabufs
drm/shmem-helper: Don't remove the offset in vm_area_struct pgoff
drm/shmem-helper: Check for purged buffers in fault handler
drm/amdgpu/display: handle aux backlight in backlight_get_brightness
drm/amdgpu/display: don't assert in set backlight function
drm/amdgpu/display: simplify backlight setting
drm/amd/pm: bug fix for pcie dpm
drm/amd/display: Fix nested FPU context in dcn21_validate_bandwidth()
drm/amdgpu/display: use GFP_ATOMIC in dcn21_validate_bandwidth_fp()
drm/amd/display: Add a backlight module option
drm/compat: Clear bounce structures
gpio: fix gpio-device list corruption
gpio: pca953x: Set IRQ type when handle Intel Galileo Gen 2
gpiolib: acpi: Allow to find GpioInt() resource by name and index
gpiolib: acpi: Add ACPI_GPIO_QUIRK_ABSOLUTE_NUMBER quirk
bnxt_en: reliably allocate IRQ table on reset to avoid crash
s390/cio: return -EFAULT if copy_to_user() fails again
net: hns3: fix bug when calculating the TCAM table info
net: hns3: fix query vlan mask value error for flow director
perf report: Fix -F for branch & mem modes
perf traceevent: Ensure read cmdlines are null terminated.
mlxsw: spectrum_ethtool: Add an external speed to PTYS register
selftests: forwarding: Fix race condition in mirror installation
net: phy: make mdio_bus_phy_suspend/resume as __maybe_unused
ethtool: fix the check logic of at least one channel for RX/TX
net: stmmac: fix wrongly set buffer2 valid when sph unsupport
net: stmmac: fix watchdog timeout during suspend/resume stress test
net: stmmac: stop each tx channel independently
perf build: Fix ccache usage in $(CC) when generating arch errno table
tools/resolve_btfids: Fix build error with older host toolchains
ixgbe: fail to create xfrm offload of IPsec tunnel mode SA
r8169: fix r8168fp_adjust_ocp_cmd function
s390/qeth: fix memory leak after failed TX Buffer allocation
net: qrtr: fix error return code of qrtr_sendmsg()
net: enetc: allow hardware timestamping on TX queues with tc-etf enabled
net: davicom: Fix regulator not turned off on driver removal
net: davicom: Fix regulator not turned off on failed probe
net: lapbether: Remove netif_start_queue / netif_stop_queue
stmmac: intel: Fixes clock registration error seen for multiple interfaces
net: stmmac: Fix VLAN filter delete timeout issue in Intel mGBE SGMII
cipso,calipso: resolve a number of problems with the DOI refcounts
netdevsim: init u64 stats for 32bit hardware
net: usb: qmi_wwan: allow qmimux add/del with master up
net: dsa: sja1105: fix SGMII PCS being forced to SPEED_UNKNOWN instead of SPEED_10
net: mscc: ocelot: properly reject destination IP keys in VCAP IS1
net: sched: avoid duplicates in classes dump
nexthop: Do not flush blackhole nexthops when loopback goes down
net: stmmac: fix incorrect DMA channel intr enable setting of EQoS v4.10
net/mlx4_en: update moderation when config reset
net: ethernet: mtk-star-emac: fix wrong unmap in RX handling
net: enetc: keep RX ring consumer index in sync with hardware
net: enetc: remove bogus write to SIRXIDR from enetc_setup_rxbdr
net: enetc: force the RGMII speed and duplex instead of operating in inband mode
net: enetc: don't disable VLAN filtering in IFF_PROMISC mode
net: enetc: fix incorrect TPID when receiving 802.1ad tagged packets
net: enetc: take the MDIO lock only once per NAPI poll cycle
net: enetc: don't overwrite the RSS indirection table when initializing
sh_eth: fix TRSCER mask for SH771x
net: dsa: tag_rtl4_a: fix egress tags
docs: networking: drop special stable handling
Revert "mm, slub: consider rest of partial list if acquire_slab() fails"
cifs: return proper error code in statfs(2)
mount: fix mounting of detached mounts onto targets that reside on shared mounts
powerpc/603: Fix protection of user pages mapped with PROT_NONE
mt76: dma: do not report truncated frames to mac80211
ibmvnic: always store valid MAC address
ibmvnic: Fix possibly uninitialized old_num_tx_queues variable warning.
libbpf: Clear map_info before each bpf_obj_get_info_by_fd
samples, bpf: Add missing munmap in xdpsock
selftests/bpf: Mask bpf_csum_diff() return value to 16 bits in test_verifier
selftests/bpf: No need to drop the packet when there is no geneve opt
selftests/bpf: Use the last page in test_snprintf_btf on s390
net: phy: fix save wrong speed and duplex problem if autoneg is on
net: always use icmp{,v6}_ndo_send from ndo_start_xmit
netfilter: x_tables: gpf inside xt_find_revision()
netfilter: nf_nat: undo erroneous tcp edemux lookup
tcp: add sanity tests to TCP_QUEUE_SEQ
tcp: Fix sign comparison bug in getsockopt(TCP_ZEROCOPY_RECEIVE)
can: tcan4x5x: tcan4x5x_init(): fix initialization - clear MRAM before entering Normal Mode
can: flexcan: invoke flexcan_chip_freeze() to enter freeze mode
can: flexcan: enable RX FIFO after FRZ/HALT valid
can: flexcan: assert FRZ bit in flexcan_chip_freeze()
can: skb: can_skb_set_owner(): fix ref counting if socket was closed before setting skb ownership
net: l2tp: reduce log level of messages in receive path, add counter instead
net: avoid infinite loop in mpls_gso_segment when mpls_hlen == 0
net: check if protocol extracted by virtio_net_hdr_set_proto is correct
net: Fix gro aggregation for udp encaps with zero csum
ath9k: fix transmitting to stations in dynamic SMPS mode
crypto: mips/poly1305 - enable for all MIPS processors
ethernet: alx: fix order of calls on resume
powerpc/pseries: Don't enforce MSI affinity with kdump
powerpc/perf: Fix handling of privilege level checks in perf interrupt context
uapi: nfnetlink_cthelper.h: fix userspace compilation error
Linux 5.10.23
nvme-pci: add quirks for Lexar 256GB SSD
nvme-pci: mark Seagate Nytro XM1440 as QUIRK_NO_NS_DESC_LIST.
KVM: SVM: Clear the CR4 register on reset
scsi: ufs: Fix a duplicate dev quirk number
ASoC: Intel: sof_sdw: add quirk for HP Spectre x360 convertible
ASoC: Intel: sof_sdw: reorganize quirks by generation
PCI: cadence: Retrain Link to work around Gen2 training defect
ALSA: usb-audio: add mixer quirks for Pioneer DJM-900NXS2
ALSA: usb-audio: Add DJM750 to Pioneer mixer quirk
HID: i2c-hid: Add I2C_HID_QUIRK_NO_IRQ_AFTER_RESET for ITE8568 EC on Voyo Winpad A15
mmc: sdhci-of-dwcmshc: set SDHCI_QUIRK2_PRESET_VALUE_BROKEN
drm/msm/a5xx: Remove overwriting A5XX_PC_DBG_ECO_CNTL register
scsi: ufs: ufs-exynos: Use UFSHCD_QUIRK_ALIGN_SG_WITH_PAGE_SIZE
scsi: ufs: ufs-exynos: Apply vendor-specific values for three timeouts
scsi: ufs: Introduce a quirk to allow only page-aligned sg entries
misc: eeprom_93xx46: Add quirk to support Microchip 93LC46B eeprom
scsi: ufs: Add a quirk to permit overriding UniPro defaults
scsi: ufs-mediatek: Enable UFSHCI_QUIRK_SKIP_MANUAL_WB_FLUSH_CTRL
ASoC: Intel: sof_sdw: add missing TGL_HDMI quirk for Dell SKU 0A32
KVM: x86: Supplement __cr4_reserved_bits() with X86_FEATURE_PCID check
PCI: Add function 1 DMA alias quirk for Marvell 9215 SATA controller
usb: cdns3: fix NULL pointer dereference on no platform data
usb: cdns3: add quirk for enable runtime pm by default
usb: cdns3: host: add xhci_plat_priv quirk XHCI_SKIP_PHY_INIT
usb: cdns3: host: add .suspend_quirk for xhci-plat.c
ASoC: Intel: bytcr_rt5640: Add quirk for ARCHOS Cesium 140
ACPI: video: Add DMI quirk for GIGABYTE GB-BXBT-2807
media: cx23885: add more quirks for reset DMA on some AMD IOMMU
HID: mf: add support for 0079:1846 Mayflash/Dragonrise USB Gamecube Adapter
platform/x86: acer-wmi: Add ACER_CAP_KBD_DOCK quirk for the Aspire Switch 10E SW3-016
platform/x86: acer-wmi: Add support for SW_TABLET_MODE on Switch devices
platform/x86: acer-wmi: Add ACER_CAP_SET_FUNCTION_MODE capability flag
platform/x86: acer-wmi: Add new force_caps module parameter
platform/x86: acer-wmi: Cleanup accelerometer device handling
platform/x86: acer-wmi: Cleanup ACER_CAP_FOO defines
bus: ti-sysc: Implement GPMC debug quirk to drop platform data
ASoC: Intel: sof_sdw: add quirk for new TigerLake-SDCA device
mwifiex: pcie: skip cancel_work_sync() on reset failure path
Bluetooth: btqca: Add valid le states quirk
iommu/amd: Fix sleeping in atomic in increase_address_space()
btrfs: don't flush from btrfs_delayed_inode_reserve_metadata
btrfs: export and rename qgroup_reserve_meta
arm64: Make CPU_BIG_ENDIAN depend on ld.bfd or ld.lld 13.0.0+
parisc: Enable -mlong-calls gcc option with CONFIG_COMPILE_TEST
nvme-pci: mark Kingston SKC2000 as not supporting the deepest power state
ASoC: SOF: Intel: broadwell: fix mutual exclusion with catpt driver
ACPICA: Fix race in generic_serial_bus (I2C) and GPIO op_region parameter handling
Linux 5.10.22
r8169: fix resuming from suspend on RTL8105e if machine runs on battery
tomoyo: recognize kernel threads correctly
of: unittest: Fix build on architectures without CONFIG_OF_ADDRESS
Revert "arm64: dts: amlogic: add missing ethernet reset ID"
iommu/vt-d: Fix status code for Allocate/Free PASID command
rsxx: Return -EFAULT if copy_to_user() fails
ftrace: Have recordmcount use w8 to read relp->r_info in arm64_is_fake_mcount
ALSA: hda: intel-nhlt: verify config type
IB/mlx5: Add missing error code
RDMA/rxe: Fix missing kconfig dependency on CRYPTO
RDMA/cm: Fix IRQ restore in ib_send_cm_sidr_rep
ALSA: ctxfi: cthw20k2: fix mask on conf to allow 4 bits
mm: Remove examples from enum zone_type comment
arm64: mm: Set ZONE_DMA size based on early IORT scan
arm64: mm: Set ZONE_DMA size based on devicetree's dma-ranges
of: unittest: Add test for of_dma_get_max_cpu_address()
of/address: Introduce of_dma_get_max_cpu_address()
arm64: mm: Move zone_dma_bits initialization into zone_sizes_init()
arm64: mm: Move reserve_crashkernel() into mem_init()
crypto - shash: reduce minimum alignment of shash_desc structure
drm/amdgpu: fix parameter error of RREG32_PCIE() in amdgpu_regs_pcie
drm/amdgpu:disable VCN for Navi12 SKU
dm verity: fix FEC for RS roots unaligned to block size
dm bufio: subtract the number of initial sectors in dm_bufio_get_device_size
io_uring: ignore double poll add on the same waitqueue head
ring-buffer: Force before_stamp and write_stamp to be different on discard
PM: runtime: Update device status before letting suppliers suspend
btrfs: fix warning when creating a directory with smack enabled
btrfs: unlock extents in btrfs_zero_range in case of quota reservation errors
btrfs: free correct amount of space in btrfs_delayed_inode_reserve_metadata
btrfs: validate qgroup inherit for SNAP_CREATE_V2 ioctl
btrfs: fix race between extent freeing/allocation when using bitmaps
btrfs: fix stale data exposure after cloning a hole with NO_HOLES enabled
btrfs: fix race between swap file activation and snapshot creation
btrfs: fix race between writes to swap files and scrub
btrfs: fix raid6 qstripe kmap
btrfs: avoid double put of block group when emptying cluster
tpm, tpm_tis: Decorate tpm_get_timeouts() with request_locality()
tpm, tpm_tis: Decorate tpm_tis_gen_interrupt() with request_locality()
ALSA: usb-audio: Drop bogus dB range in too low level
ALSA: usb-audio: use Corsair Virtuoso mapping for Corsair Virtuoso SE
ALSA: hda/realtek: Enable headset mic of Acer SWIFT with ALC256
Conflicts:
drivers/cpufreq/qcom-cpufreq-hw.c
drivers/vfio/Kconfig
net/qrtr/qrtr.c
Change-Id: Ib622ea353c1c1db4b1cce31729d224df47902a57
Signed-off-by: Ivaylo Georgiev <irgeorgiev@codeaurora.org>
In case of Qsee_log we are not using the tzbsp_diag_buf
so there is no need to copy that.
Change-Id: Iabffd1708507e16ef8d75102637fd45bb7182549
Signed-off-by: Monika Singh <monising@codeaurora.org>
Signed-off-by: Gaurav Kashyap <gaurkash@codeaurora.org>
Update structs as per the new requests.
Change-Id: Idea5ebdf6c558b4a2e26031334f47eb7914a0615
Signed-off-by: Anmolpreet Kaur <anmolpre@codeaurora.org>
Signed-off-by: Gaurav Kashyap <gaurkash@codeaurora.org>
To properly ensure that the vdd regulator is put in the correct
operating mode, it needs to have a call to regulator_set_load()
prior to being enabled. This is crucial for platforms where the
HS PHY is the only consumer of the regulator as it could be
inadvertently left in LPM mode and cause the PHY to not function
properly.
Change-Id: I87815c60f044d854ecc75ac6039fd80c2d3197aa
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
Ensure that the EP disable routine doesn't clear the DEP flags until
after the stop active transfers is complete. Otherwise, the ENDXFER
command will not be issued and can lead to an active TRB while the
controller is being halted. This is a temporary fix utilizing
kretprobes, and will be replaced in the future.
Change-Id: I82f443b5884f7cecbe0c18ef5ccfe42a86683d27
Signed-off-by: Wesley Cheng <wcheng@codeaurora.org>
Create the file that will host a separate secure system heap by
copying drivers/dma-buf/heaps/qcom_system_heap.c as of
commit a4e135a8e4 ("dt-bindings: ipcc: Add WPSS client to IPCC
header"), with minor modifications made as needed.
Change-Id: I3ddc5d90654896514a6690c00b1886e98bff756c
Signed-off-by: Chris Goldsworthy <cgoldswo@codeaurora.org>
Request ipcc irq with irqf no suspend flag.
This is required as to handle IPCC interrupt,
during suspend phase.
Change-Id: I5c34c5d446bd2cc2187550455071f35637a2c4b3
Signed-off-by: Mayank Grover <groverm@codeaurora.org>
Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>
Add support for SN220 NFC chip.
Update the NFCC initialization flow.
Add wrapper APIs to validate and set GPIOs.
Add timeout for NFC read.
Change-Id: I7bb2cd1a2fb81cdb405a9aed64564481e06e87e7
Signed-off-by: Karthik Poosa <kpoosa2@codeaurora.org>
Updates the branch to the 5.10.26 upstream kernel version.
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I84aa29bf4e4e809051eb346830c4c4b5acb78c8c
Remove the thermal_cdev_update API from cdsprm after cooling
device register success. The need for mitigation will be taken
care while cdsprm cooling device registration.
Change-Id: I8589d91bb896bf991e4ac3a4f2f249e2fc2cd5f8
Acked-by: Sreekanth Gande <sgande@qti.qualcomm.com>
Signed-off-by: Bavyasritha Alahari <alahari@codeaurora.org>
This is for rate limiting, I'm surprised to discover these weren't already on.
Test: TreeHugger
Bug: 179454839
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: I3a82dc91215c1d233b16566d965af2acaf72c25c