0617661bb9
6828 Commits
Author | SHA1 | Message | Date | |
---|---|---|---|---|
Ivaylo Georgiev
|
471ade6138 |
Merge keystone/android12-5.10-keystone-qcom-release.43+ (05a2a29 ) into msm-5.10
* refs/heads/tmp-05a2a29: ANDROID: gki - CONFIG_NET_SCH_FQ=y ANDROID: GKI: Kconfig.gki: Add GKI_HIDDEN_ETHERNET_CONFIGS FROMLIST: media: Kconfig: Fix DVB_CORE can't be selected as module ANDROID: Update ABI and symbol list Revert "net: usb: cdc_ncm: don't spew notifications" Linux 5.10.43 neighbour: allow NUD_NOARP entries to be forced GCed xen-netback: take a reference to the RX task thread netfilter: nf_tables: missing error reporting for not selected expressions i2c: qcom-geni: Suspend and resume the bus during SYSTEM_SLEEP_PM ops lib/lz4: explicitly support in-place decompression x86/kvm: Disable all PV features on crash x86/kvm: Disable kvmclock on all CPUs on shutdown x86/kvm: Teardown PV features on boot CPU as well KVM: arm64: Fix debug register indexing KVM: SVM: Truncate GPR value for DR and CR accesses in !64-bit mode btrfs: fix unmountable seed device after fstrim drm/msm/dpu: always use mdp device to scale bandwidth mm, hugetlb: fix simple resv_huge_pages underflow on UFFDIO_COPY btrfs: fix deadlock when cloning inline extents and low on available space btrfs: abort in rename_exchange if we fail to insert the second ref btrfs: fixup error handling in fixup_inode_link_counts btrfs: return errors from btrfs_del_csums in cleanup_ref_head btrfs: fix error handling in btrfs_del_csums btrfs: mark ordered extent and inode with error if we fail to finish powerpc/kprobes: Fix validation of prefixed instructions across page boundary x86/apic: Mark _all_ legacy interrupts when IO/APIC is missing drm/amdgpu: make sure we unpin the UVD BO drm/amdgpu: Don't query CE and UE errors nfc: fix NULL ptr dereference in llcp_sock_getname() after failed connect x86/sev: Check SME/SEV support in CPUID first x86/cpufeatures: Force disable X86_FEATURE_ENQCMD and remove update_pasid() mm/page_alloc: fix counting of free pages after take off from buddy mm/debug_vm_pgtable: fix alignment for pmd/pud_advanced_tests() ocfs2: fix data corruption by fallocate pid: take a reference when initializing `cad_pid` usb: dwc2: Fix build in periphal-only mode ext4: fix accessing uninit percpu counter variable with fast_commit ext4: fix memory leak in ext4_mb_init_backend on error path. ext4: fix fast commit alignment issues ext4: fix bug on in ext4_es_cache_extent as ext4_split_extent_at failed ext4: fix memory leak in ext4_fill_super ARM: dts: imx6q-dhcom: Add PU,VDD1P1,VDD2P5 regulators ARM: dts: imx6dl-yapp4: Fix RGMII connection to QCA8334 switch ALSA: hda: update the power_state during the direct-complete ALSA: hda: Fix for mute key LED for HP Pavilion 15-CK0xx ALSA: timer: Fix master timer notification gfs2: fix scheduling while atomic bug in glocks HID: multitouch: require Finger field to mark Win8 reports as MT HID: magicmouse: fix NULL-deref on disconnect HID: i2c-hid: Skip ELAN power-on command after reset net: caif: fix memory leak in cfusbl_device_notify net: caif: fix memory leak in caif_device_notify net: caif: add proper error handling net: caif: added cfserl_release function wireguard: allowedips: free empty intermediate nodes when removing single node wireguard: allowedips: allocate nodes in kmem_cache wireguard: allowedips: remove nodes in O(1) wireguard: allowedips: initialize list head in selftest wireguard: selftests: make sure rp_filter is disabled on vethc wireguard: selftests: remove old conntrack kconfig value wireguard: use synchronize_net rather than synchronize_rcu wireguard: peer: allocate in kmem_cache wireguard: do not use -O3 Bluetooth: use correct lock to prevent UAF of hdev object Bluetooth: fix the erroneous flush_work() order drm/amdgpu/jpeg3: add cancel_delayed_work_sync before power gate drm/amdgpu/jpeg2.5: add cancel_delayed_work_sync before power gate drm/amdgpu/vcn3: add cancel_delayed_work_sync before power gate io_uring: use better types for cflags io_uring: fix link timeout refs riscv: vdso: fix and clean-up Makefile serial: stm32: fix threaded interrupt handling tipc: fix unique bearer names sanity check tipc: add extack messages for bearer/media failure bus: ti-sysc: Fix flakey idling of uarts and stop using swsup_sidle_act ARM: dts: imx: emcon-avari: Fix nxp,pca8574 #gpio-cells ARM: dts: imx7d-pico: Fix the 'tuning-step' property ARM: dts: imx7d-meerkat96: Fix the 'tuning-step' property arm64: dts: freescale: sl28: var4: fix RGMII clock and voltage arm64: dts: zii-ultra: fix 12V_MAIN voltage arm64: dts: ls1028a: fix memory node bus: ti-sysc: Fix am335x resume hang for usb otg module optee: use export_uuid() to copy client UUID arm64: dts: ti: j7200-main: Mark Main NAVSS as dma-coherent ixgbe: add correct exception tracing for XDP ixgbe: optimize for XDP_REDIRECT in xsk path ice: add correct exception tracing for XDP ice: optimize for XDP_REDIRECT in xsk path ice: simplify ice_run_xdp i40e: add correct exception tracing for XDP i40e: optimize for XDP_REDIRECT in xsk path cxgb4: avoid link re-train during TC-MQPRIO configuration i2c: qcom-geni: Add shutdown callback for i2c ice: Allow all LLDP packets from PF to Tx ice: report supported and advertised autoneg using PHY capabilities ice: handle the VF VSI rebuild failure ice: Fix VFR issues for AVF drivers that expect ATQLEN cleared ice: Fix allowing VF to request more/less queues via virtchnl ipv6: Fix KASAN: slab-out-of-bounds Read in fib6_nh_flush_exceptions cxgb4: fix regression with HASH tc prio value update ixgbevf: add correct exception tracing for XDP igb: add correct exception tracing for XDP ieee802154: fix error return code in ieee802154_llsec_getparams() ieee802154: fix error return code in ieee802154_add_iface() bpf, lockdown, audit: Fix buggy SELinux lockdown permission checks bpf: Simplify cases in bpf_base_func_proto drm/i915/selftests: Fix return value check in live_breadcrumbs_smoketest() netfilter: nfnetlink_cthelper: hit EBUSY on updates if size mismatches netfilter: nft_ct: skip expectations for confirmed conntrack nvmet: fix freeing unallocated p2pmem net/mlx5: DR, Create multi-destination flow table with level less than 64 net/mlx5e: Check for needed capability for cvlan matching net/mlx5: Check firmware sync reset requested is set before trying to abort it net/mlx5e: Fix incompatible casting net/tls: Fix use-after-free after the TLS device goes down and up net/tls: Replace TLS_RX_SYNC_RUNNING with RCU net: sock: fix in-kernel mark setting net: dsa: tag_8021q: fix the VLAN IDs used for encoding sub-VLANs perf probe: Fix NULL pointer dereference in convert_variable_location() ACPICA: Clean up context mutex during object deletion nvme-rdma: fix in-casule data send for chained sgls mptcp: always parse mptcp options for MPC reqsk net/sched: act_ct: Fix ct template allocation for zone 0 net/sched: act_ct: Offload connections with commit action devlink: Correct VIRTUAL port to not have phys_port attributes HID: i2c-hid: fix format string mismatch HID: pidff: fix error return code in hid_pidff_init() HID: logitech-hidpp: initialize level variable ipvs: ignore IP_VS_SVC_F_HASHED flag when adding service vfio/platform: fix module_put call in error flow samples: vfio-mdev: fix error handing in mdpy_fb_probe() vfio/pci: zap_vma_ptes() needs MMU vfio/pci: Fix error return code in vfio_ecap_init() efi: cper: fix snprintf() use in cper_dimm_err_location() efi/libstub: prevent read overflow in find_file_option() efi: Allow EFI_MEMORY_XP and EFI_MEMORY_RO both to be cleared efi/fdt: fix panic when no valid fdt found netfilter: conntrack: unregister ipv4 sockopts on error unwind hwmon: (pmbus/isl68137) remove READ_TEMPERATURE_3 for RAA228228 hwmon: (dell-smm-hwmon) Fix index values net: usb: cdc_ncm: don't spew notifications btrfs: tree-checker: do not error out if extent ref hash doesn't match Change-Id: Id878e21ca63befee2ba14efb582e117e7f637033 Signed-off-by: Ivaylo Georgiev <irgeorgiev@codeaurora.org> |
||
Ivaylo Georgiev
|
274d37a14a |
Merge keystone/android12-5.10-keystone-qcom-release.42+ (f70b9a6 ) into msm-5.10
* refs/heads/tmp-f70b9a6: ANDROID: Fips 140: move fips symbols entirely in own list ANDROID: core of xt_IDLETIMER send_nl_msg support ANDROID: start to re-add xt_IDLETIMER send_nl_msg support ANDROID: add fips140.ko symbols to module ABI ANDROID: inject correct HMAC digest into fips140.ko at build time ANDROID: crypto: fips140 - perform load time integrity check FROMLIST: crypto: shash - stop comparing function pointers to avoid breaking CFI ANDROID: arm64: module: preserve RELA sections for FIPS140 integrity selfcheck ANDROID: arm64: simd: omit capability check in may_use_simd() ANDROID: kbuild: lto: permit the use of .a archives in LTO modules ANDROID: arm64: only permit certain alternatives in the FIPS140 module ANDROID: crypto: lib/aes - add vendor hooks for AES library routines ANDROID: crypto: lib/sha256 - add vendor hook for sha256() routine UPSTREAM: KVM: arm64: Mark the host stage-2 memory pools static UPSTREAM: arm64: mm: don't use CON and BLK mapping if KFENCE is enabled UPSTREAM: x86/build: Fix location of '-plugin-opt=' flags UPSTREAM: binder: Return EFAULT if we fail BINDER_ENABLE_ONEWAY_SPAM_DETECTION UPSTREAM: usb: dwc3: imx8mp: fix error return code in dwc3_imx8mp_probe() UPSTREAM: usb: dwc3: core: Add missing GHWPARAMS9 doc UPSTREAM: KVM: arm64: Fix error return code in init_hyp_mode() UPSTREAM: KVM: arm64: Support PREL/PLT relocs in EL2 code UPSTREAM: iommu/mediatek: Always enable the clk on resume UPSTREAM: mm: page_alloc: ignore init_on_free=1 for debug_pagealloc=1 UPSTREAM: dt-bindings: iommu: mediatek: update mediatek,iommu.yaml references UPSTREAM: media: mtk: fix mtk-smi dependency UPSTREAM: software node: Allow node addition to already existing device UPSTREAM: coresight: etm-perf: Fix define build issue when built as module UPSTREAM: kbuild: lto: Merge module sections if and only if CONFIG_LTO_CLANG is enabled UPSTREAM: kunit: tool: Disable PAGE_POISONING under --alltests UPSTREAM: gpiolib: Fix error return code in gpiolib_dev_init() UPSTREAM: memblock: fix section mismatch warning UPSTREAM: software node: Fix device_add_software_node() UPSTREAM: gpio: fix NULL-deref-on-deregistration regression BACKPORT: kbuild: fix UNUSED_KSYMS_WHITELIST for Clang LTO UPSTREAM: kbuild: lto: add _mcount to list of used symbols UPSTREAM: arm64: Add missing ISB after invalidating TLB in enter_vhe UPSTREAM: kbuild: Move .thinlto-cache removal to 'make clean' UPSTREAM: parisc: select FTRACE_MCOUNT_USE_PATCHABLE_FUNCTION_ENTRY UPSTREAM: kbuild: prevent CC_FLAGS_LTO self-bloating on recursive rebuilds UPSTREAM: regulator: qcom-rpmh: fix build after QCOM_COMMAND_DB is tristate UPSTREAM: dma-buf: cma_heap: Include linux/vmalloc.h to fix build failures on MIPS UPSTREAM: signal/parisc: Remove parisc specific definition of __ARCH_UAPI_SA_FLAGS UPSTREAM: nl80211: fix kernel-doc warning in the new SAE attribute ANDROID: abi_gki_aarch64_qcom: Add cpuidle_psci and gic_resume symbols ANDROID: gic-v3: Export gic_resume() for vendor GIC enhancements ANDROID: cpuidle-psci: Add vendor hook for cpuidle psci enter and exit FROMGIT: usb: typec: mux: Fix copy-paste mistake in typec_mux_match FROMGIT: usb: typec: ucsi: Clear PPM capability data in ucsi_init() error path ANDROID: export cpuset_cpus_allowed()for GKI purpose. ANDROID: GKI: Update abi_gki_aarch64_qcom list for shmem reclaim ANDROID: tracing: Add generic flag for register tracing disable ANDROID: user: Add vendor hook to user for GKI purpose ANDROID: mm: allow fast reclaim of shmem pages ANDROID: vendor_hooks: Export the tracepoints sched_stat_sleep and sched_waking to let module probe them Conflicts: Documentation/devicetree/bindings Documentation/devicetree/bindings/display/mediatek/mediatek,disp.txt Documentation/devicetree/bindings/media/mediatek-jpeg-decoder.txt Documentation/devicetree/bindings/media/mediatek-jpeg-encoder.txt Documentation/devicetree/bindings/media/mediatek-mdp.txt Documentation/devicetree/bindings/media/mediatek-vcodec.txt Change-Id: Ic22894ca2604f1bc7efea81204c41e2e5593defc Signed-off-by: Ivaylo Georgiev <irgeorgiev@codeaurora.org> |
||
Greg Kroah-Hartman
|
9e08e97ec6 |
Merge 5.10.43 into android12-5.10
Changes in 5.10.43 btrfs: tree-checker: do not error out if extent ref hash doesn't match net: usb: cdc_ncm: don't spew notifications hwmon: (dell-smm-hwmon) Fix index values hwmon: (pmbus/isl68137) remove READ_TEMPERATURE_3 for RAA228228 netfilter: conntrack: unregister ipv4 sockopts on error unwind efi/fdt: fix panic when no valid fdt found efi: Allow EFI_MEMORY_XP and EFI_MEMORY_RO both to be cleared efi/libstub: prevent read overflow in find_file_option() efi: cper: fix snprintf() use in cper_dimm_err_location() vfio/pci: Fix error return code in vfio_ecap_init() vfio/pci: zap_vma_ptes() needs MMU samples: vfio-mdev: fix error handing in mdpy_fb_probe() vfio/platform: fix module_put call in error flow ipvs: ignore IP_VS_SVC_F_HASHED flag when adding service HID: logitech-hidpp: initialize level variable HID: pidff: fix error return code in hid_pidff_init() HID: i2c-hid: fix format string mismatch devlink: Correct VIRTUAL port to not have phys_port attributes net/sched: act_ct: Offload connections with commit action net/sched: act_ct: Fix ct template allocation for zone 0 mptcp: always parse mptcp options for MPC reqsk nvme-rdma: fix in-casule data send for chained sgls ACPICA: Clean up context mutex during object deletion perf probe: Fix NULL pointer dereference in convert_variable_location() net: dsa: tag_8021q: fix the VLAN IDs used for encoding sub-VLANs net: sock: fix in-kernel mark setting net/tls: Replace TLS_RX_SYNC_RUNNING with RCU net/tls: Fix use-after-free after the TLS device goes down and up net/mlx5e: Fix incompatible casting net/mlx5: Check firmware sync reset requested is set before trying to abort it net/mlx5e: Check for needed capability for cvlan matching net/mlx5: DR, Create multi-destination flow table with level less than 64 nvmet: fix freeing unallocated p2pmem netfilter: nft_ct: skip expectations for confirmed conntrack netfilter: nfnetlink_cthelper: hit EBUSY on updates if size mismatches drm/i915/selftests: Fix return value check in live_breadcrumbs_smoketest() bpf: Simplify cases in bpf_base_func_proto bpf, lockdown, audit: Fix buggy SELinux lockdown permission checks ieee802154: fix error return code in ieee802154_add_iface() ieee802154: fix error return code in ieee802154_llsec_getparams() igb: add correct exception tracing for XDP ixgbevf: add correct exception tracing for XDP cxgb4: fix regression with HASH tc prio value update ipv6: Fix KASAN: slab-out-of-bounds Read in fib6_nh_flush_exceptions ice: Fix allowing VF to request more/less queues via virtchnl ice: Fix VFR issues for AVF drivers that expect ATQLEN cleared ice: handle the VF VSI rebuild failure ice: report supported and advertised autoneg using PHY capabilities ice: Allow all LLDP packets from PF to Tx i2c: qcom-geni: Add shutdown callback for i2c cxgb4: avoid link re-train during TC-MQPRIO configuration i40e: optimize for XDP_REDIRECT in xsk path i40e: add correct exception tracing for XDP ice: simplify ice_run_xdp ice: optimize for XDP_REDIRECT in xsk path ice: add correct exception tracing for XDP ixgbe: optimize for XDP_REDIRECT in xsk path ixgbe: add correct exception tracing for XDP arm64: dts: ti: j7200-main: Mark Main NAVSS as dma-coherent optee: use export_uuid() to copy client UUID bus: ti-sysc: Fix am335x resume hang for usb otg module arm64: dts: ls1028a: fix memory node arm64: dts: zii-ultra: fix 12V_MAIN voltage arm64: dts: freescale: sl28: var4: fix RGMII clock and voltage ARM: dts: imx7d-meerkat96: Fix the 'tuning-step' property ARM: dts: imx7d-pico: Fix the 'tuning-step' property ARM: dts: imx: emcon-avari: Fix nxp,pca8574 #gpio-cells bus: ti-sysc: Fix flakey idling of uarts and stop using swsup_sidle_act tipc: add extack messages for bearer/media failure tipc: fix unique bearer names sanity check serial: stm32: fix threaded interrupt handling riscv: vdso: fix and clean-up Makefile io_uring: fix link timeout refs io_uring: use better types for cflags drm/amdgpu/vcn3: add cancel_delayed_work_sync before power gate drm/amdgpu/jpeg2.5: add cancel_delayed_work_sync before power gate drm/amdgpu/jpeg3: add cancel_delayed_work_sync before power gate Bluetooth: fix the erroneous flush_work() order Bluetooth: use correct lock to prevent UAF of hdev object wireguard: do not use -O3 wireguard: peer: allocate in kmem_cache wireguard: use synchronize_net rather than synchronize_rcu wireguard: selftests: remove old conntrack kconfig value wireguard: selftests: make sure rp_filter is disabled on vethc wireguard: allowedips: initialize list head in selftest wireguard: allowedips: remove nodes in O(1) wireguard: allowedips: allocate nodes in kmem_cache wireguard: allowedips: free empty intermediate nodes when removing single node net: caif: added cfserl_release function net: caif: add proper error handling net: caif: fix memory leak in caif_device_notify net: caif: fix memory leak in cfusbl_device_notify HID: i2c-hid: Skip ELAN power-on command after reset HID: magicmouse: fix NULL-deref on disconnect HID: multitouch: require Finger field to mark Win8 reports as MT gfs2: fix scheduling while atomic bug in glocks ALSA: timer: Fix master timer notification ALSA: hda: Fix for mute key LED for HP Pavilion 15-CK0xx ALSA: hda: update the power_state during the direct-complete ARM: dts: imx6dl-yapp4: Fix RGMII connection to QCA8334 switch ARM: dts: imx6q-dhcom: Add PU,VDD1P1,VDD2P5 regulators ext4: fix memory leak in ext4_fill_super ext4: fix bug on in ext4_es_cache_extent as ext4_split_extent_at failed ext4: fix fast commit alignment issues ext4: fix memory leak in ext4_mb_init_backend on error path. ext4: fix accessing uninit percpu counter variable with fast_commit usb: dwc2: Fix build in periphal-only mode pid: take a reference when initializing `cad_pid` ocfs2: fix data corruption by fallocate mm/debug_vm_pgtable: fix alignment for pmd/pud_advanced_tests() mm/page_alloc: fix counting of free pages after take off from buddy x86/cpufeatures: Force disable X86_FEATURE_ENQCMD and remove update_pasid() x86/sev: Check SME/SEV support in CPUID first nfc: fix NULL ptr dereference in llcp_sock_getname() after failed connect drm/amdgpu: Don't query CE and UE errors drm/amdgpu: make sure we unpin the UVD BO x86/apic: Mark _all_ legacy interrupts when IO/APIC is missing powerpc/kprobes: Fix validation of prefixed instructions across page boundary btrfs: mark ordered extent and inode with error if we fail to finish btrfs: fix error handling in btrfs_del_csums btrfs: return errors from btrfs_del_csums in cleanup_ref_head btrfs: fixup error handling in fixup_inode_link_counts btrfs: abort in rename_exchange if we fail to insert the second ref btrfs: fix deadlock when cloning inline extents and low on available space mm, hugetlb: fix simple resv_huge_pages underflow on UFFDIO_COPY drm/msm/dpu: always use mdp device to scale bandwidth btrfs: fix unmountable seed device after fstrim KVM: SVM: Truncate GPR value for DR and CR accesses in !64-bit mode KVM: arm64: Fix debug register indexing x86/kvm: Teardown PV features on boot CPU as well x86/kvm: Disable kvmclock on all CPUs on shutdown x86/kvm: Disable all PV features on crash lib/lz4: explicitly support in-place decompression i2c: qcom-geni: Suspend and resume the bus during SYSTEM_SLEEP_PM ops netfilter: nf_tables: missing error reporting for not selected expressions xen-netback: take a reference to the RX task thread neighbour: allow NUD_NOARP entries to be forced GCed Linux 5.10.43 Signed-off-by: Greg Kroah-Hartman <gregkh@google.com> Change-Id: I8d7ec0878193e4e454076809b7fb71fcc4e3d810 |
||
Ard Biesheuvel
|
9c556792b7 |
ANDROID: crypto: lib/aes - add vendor hooks for AES library routines
Add vendor hooks that will allow the FIPS140 kernel module to override the implementations of the AES library routines. The FIPS 140 versions are identical to the normal ones, but their code and rodata will have been integrity checked at module load time. Bug: 153614920 Bug: 188620248 Change-Id: I5711fc42eced903565fd3c8d41ca7cdd82641148 Signed-off-by: Ard Biesheuvel <ardb@google.com> |
||
Ard Biesheuvel
|
7a689ebc67 |
ANDROID: crypto: lib/sha256 - add vendor hook for sha256() routine
Add a vendor hook that will allow the FIPS140 kernel module to override the implementation of the sha256() library routine. The FIPS 140 version is identical to the normal one, but its code and rodata will have been integrity checked at module load time. Bug: 153614920 Bug: 188620248 Change-Id: I8ccc4f0cc8206af39fa922134b438dacac2a614a Signed-off-by: Ard Biesheuvel <ardb@google.com> |
||
Ivaylo Georgiev
|
b81dd58779 |
Merge keystone/android12-5.10-keystone-qcom-release.42+ (eccdafe ) into msm-5.10
* refs/heads/tmp-eccdafe: FROMLIST: remoteproc: use freezable workqueue for crash notifications UPSTREAM: erofs: support adjust lz4 history window size UPSTREAM: erofs: use sync decompression for atomic contexts only UPSTREAM: erofs: use workqueue decompression for atomic contexts only UPSTREAM: erofs: avoid memory allocation failure during rolling decompression UPSTREAM: erofs: force inplace I/O under low memory scenario UPSTREAM: erofs: insert to managed cache after adding to pcl UPSTREAM: erofs: get rid of magical Z_EROFS_MAPPING_STAGING ANDROID: abi_gki_aarch64_qcom: Add thermal_cooling_device_register ANDROID: ABI: Update allowed list for QCOM FROMGIT: usb: typec: tcpm: Do not finish VDM AMS for retrying Responses FROMGIT: usb: fix various gadget panics on 10gbps cabling FROMGIT: usb: fix various gadgets null ptr deref on 10gbps cabling. FROMGIT: usb: f_ncm: only first packet of aggregate needs to start timer FROMGIT: USB: f_ncm: ncm_bitrate (speed) is unsigned ANDROID: gki - CONFIG_NET_SCH_{CODEL,FQ_CODEL,SFQ}=y ANDROID: gki - enable CONFIG_USB_CONFIGFS_{EEM,ECM}=y ANDROID: gki - enable CONFIG_USB_NET_CDC_EEM=y ANDROID: gki - enable CONFIG_USB_RTL8150=y ANDROID: mm: vmscan: support equal reclaim for anon and file pages ANDROID: qcom: Add more neighbor and dev related symbols ANDROID: GKI: Update abi_gki_aarch64_qcom for process killed symbol ANDROID: mm/memory_hotplug: Relax remove_memory_subsection error checking ANDROID: usb: typec: tcpm: Fixup the wait time for SNK_DISCOVERY FROMGIT: usb: typec: tcpm: Fix misuses of AMS invocation ANDROID: Update the ABI representation ANDROID: Update the generic symbol list ANDROID: abi_gki_aarch64_qcom: Add symbols for 32bit execve ANDROID: sched: create trace points for 32bit execve BACKPORT: FROMGIT: mm: arch: remove indirection level in alloc_zeroed_user_highpage_movable() UPSTREAM: arm64: kasan: Set TCR_EL1.TBID1 when KASAN_HW_TAGS is enabled ANDROID: freezer: Add vendor hook to freezer for GKI purpose. ANDROID: kernel: Fix passing NULL to __pa_symbol() ANDROID: sched: Add vendor hook to select ilb cpu ANDROID: GKI: enable CONFIG_EROFS_FS=y FROMGIT: dt-bindings: connector: Replace BIT macro with generic bit ops FROMGIT: usb: dwc3: debugfs: Add and remove endpoint dirs dynamically FROMGIT: dt-bindings: connector: Add PD rev 2.0 VDO definition FROMGIT: usb: typec: tcpm: Correct the responses in SVDM Version 2.0 DFP FROMGIT: Revert "usb: dwc3: core: Add shutdown callback for dwc3" ANDROID: arm scmi: add vendor hook to adjust the rx timeout. FROMGIT: userfaultfd: fix UFFDIO_CONTINUE ioctl request definition FROMGIT: userfaultfd/selftests: exercise minor fault handling shmem support BACKPORT: FROMGIT: userfaultfd/selftests: reinitialize test context in each test FROMGIT: userfaultfd/selftests: create alias mappings in the shmem test FROMGIT: userfaultfd/selftests: use memfd_create for shmem test type FROMGIT: userfaultfd/shmem: modify shmem_mfill_atomic_pte to use install_pte() FROMGIT: userfaultfd/shmem: advertise shmem minor fault support FROMGIT: userfaultfd/shmem: support UFFDIO_CONTINUE for shmem BACKPORT: FROMGIT: userfaultfd/shmem: support minor fault registration for shmem BACKPORT: FROMGIT: userfaultfd/shmem: combine shmem_{mcopy_atomic,mfill_zeropage}_pte Revert "BACKPORT: FROMGIT: userfaultfd: support minor fault handling for shmem" Revert "FROMGIT: userfaultfd/selftests: use memfd_create for shmem test type" Revert "FROMGIT: userfaultfd/selftests: create alias mappings in the shmem test" Revert "BACKPORT: FROMGIT: userfaultfd/selftests: reinitialize test context in each test" Revert "FROMGIT: userfaultfd/selftests: exercise minor fault handling shmem support" Revert "FROMLIST: userfaultfd/shmem: fix minor fault page leak" ANDROID: GKI: 6/4/2021 KMI update ANDROID: media: v4l2-core: extend the v4l2 format to support request ANDROID: vendor_hooks: add hook and OEM data for slab shrink ANDROID: sched: Add oem data in struct rq ANDROID: android: Add nr_swap_pages to debug_symbols driver ANDROID: GKI: Enable CONFIG_PCIEAER for arm64 andx86_64 UPSTREAM: media: docs: Document CLL and Mastering display colorimetry controls UPSTREAM: media: v4l: Add HDR10 static metadata controls UPSTREAM: media: uapi: Move the H264 stateless control types out of staging ANDROID: GKI: Add OEM data to mutex/rwsem FROMGIT: usb: typec: tcpci: Make symbol 'tcpci_apply_rc' static FROMGIT: usb: typec: tcpci: Implement callback for apply_rc FROMGIT: usb: typec: tcpm: Move TCPC to APPLY_RC state during PR_SWAP ANDROID: GKI: device.h: add rcu_head back to struct device_link FROMGIT: drivers: base: Reduce device link removal code duplication FROMGIT: drivers: base: Fix device link removal UPSTREAM: scsi: ufs-mediatek: Keep VCC always-on for specific devices UPSTREAM: scsi: ufs: Allow regulators being always-on UPSTREAM: scsi: ufs-mediatek: Use correct path to fix compile error UPSTREAM: scsi: ufs-mediatek: Introduce event_notify implementation BACKPORT: scsi: ufs: Introduce event_notify variant function Revert "Revert "clocksource/drivers/timer-ti-dm: Handle dra7 timer wrap errata i940"" Revert "Revert "PM: runtime: Fix unpaired parent child_count for force_resume"" Revert "Revert "kyber: fix out of bounds access when preempted"" Revert "Revert "usb: typec: ucsi: Retrieve all the PDOs instead of just the first 4"" Revert "Revert "mm: fix struct page layout on 32-bit systems"" ANDROID: GKI: Enlarge OEM data reserved in task_struct ANDROID: GKI: add OEM data in cma struct FROMGIT: scsi: ufs: Remove redundant checks of !hba in suspend/resume callbacks FROMGIT: scsi: ufs: Minor adjustments to error handling BACKPORT: FROMGIT: scsi: ufs: Clean up and refactor clk-scaling feature FROMGIT: scsi: ufs: Remove redundant null checking of devfreq instance FROMGIT: scsi: ufs: Refactor cancelling clkscaling works FROMGIT: scsi: ufs: Give clk scaling min gear a value BACKPORT: FROMGIT: scsi: ufs: Refactor ufshcd_init/exit_clk_scaling/gating() BACKPORT: FROMGIT: scsi: ufs: Protect some contexts from unexpected clock scaling FROMGIT: scsi: ufs: Stop hardcoding the scale down gear FROMGIT: Revert "Make sure clk scaling happens only when HBA is runtime ACTIVE" BACKPORT: FROMGIT: scsi: ufs: Protect PM ops and err_handler from user access through sysfs ANDROID: Update the ABI xml and symbol list FROMGIT: timer_list: Print name of per-cpu wakeup device FROMGIT: tick/broadcast: Program wakeup timer when entering idle if required FROMGIT: tick/broadcast: Prefer per-cpu oneshot wakeup timers to broadcast FROMGIT: tick/broadcast: Split __tick_broadcast_oneshot_control() into a helper FROMGIT: tick/broadcast: Drop unneeded CONFIG_GENERIC_CLOCKEVENTS_BROADCAST guard FROMGIT: usb: gadget: f_fs: Ensure io_completion_wq is idle during unbind FROMGIT: usb: typec: tcpm: cancel send discover hrtimer when unregister tcpm port FROMGIT: usb: typec: tcpm: cancel frs hrtimer when unregister tcpm port FROMGIT: usb: typec: tcpm: cancel vdm and state machine hrtimer when unregister tcpm port FROMGIT: usb: typec: tcpm: Properly handle Alert and Status Messages ANDROID: usb: export tracepoint for dwc3_complete_trb ANDROID: GKI: Request enable some kernel configs for background speed limit function ANDROID: vendor_hooks: Export the tracepoints task_rename arm64: perf: Add Erratum 1974925 workaround Revert "Revert "ANDROID: usb: dwc3: gadget: don't cancel the started requests"" ANDROID: signal: Add vendor hook for memory reaping Revert "ANDROID: mm: oom_kill: reap memory of a task that receives SIGKILL" FROMGIT: kfence: unconditionally use unbound work queue FROMLIST: bootconfig: Share the checksum function with tools FROMLIST: docs: bootconfig: Update for mixing value and subkeys FROMLIST: tools/bootconfig: Support mixed value and subkey test cases FROMLIST: bootconfig: Support mixing a value and subkeys under a key FROMLIST: bootconfig: Change array value to use child node FROMLIST: tools/bootconfig: Fix a build error accroding to undefined fallthrough ANDROID: Add an extra wake flag for android vendor use f2fs: introduce FI_COMPRESS_RELEASED instead of using IMMUTABLE bit f2fs: compress: remove unneeded preallocation f2fs: avoid attaching SB_ACTIVE flag during mount/remount f2fs: atgc: export entries for better tunability via sysfs f2fs: compress: fix to disallow temp extension f2fs: let's allow compression for mmap files f2fs: add MODULE_SOFTDEP to ensure crc32 is included in the initramfs f2fs: return success if there is no work to do f2fs: compress: clean up parameter of __f2fs_cluster_blocks() f2fs: compress: remove unneeded f2fs_put_dnode() f2fs: atgc: fix to set default age threshold f2fs: Prevent swap file in LFS mode f2fs: fix to avoid racing on fsync_entry_slab by multi filesystem instances f2fs: restructure f2fs page.private layout f2fs: add cp_error check in f2fs_write_compressed_pages f2fs: compress: rename __cluster_may_compress Conflicts: Documentation/devicetree/bindings Documentation/devicetree/bindings/connector/usb-connector.yaml Change-Id: I6ee172609c8da25a20c37d65f5116e7eac05b0b4 Signed-off-by: Ivaylo Georgiev <irgeorgiev@codeaurora.org> |
||
Gao Xiang
|
f20eef4d06 |
lib/lz4: explicitly support in-place decompression
commit 89b158635ad79574bde8e94d45dad33f8cf09549 upstream. LZ4 final literal copy could be overlapped when doing in-place decompression, so it's unsafe to just use memcpy() on an optimized memcpy approach but memmove() instead. Upstream LZ4 has updated this years ago [1] (and the impact is non-sensible [2] plus only a few bytes remain), this commit just synchronizes LZ4 upstream code to the kernel side as well. It can be observed as EROFS in-place decompression failure on specific files when X86_FEATURE_ERMS is unsupported, memcpy() optimization of commit |
||
Masami Hiramatsu
|
a504731003 |
FROMLIST: bootconfig: Support mixing a value and subkeys under a key
Support mixing a value and subkeys under a key. Since kernel cmdline options will support "aaa.bbb=value1 aaa.bbb.ccc=value2", it is better that the bootconfig supports such configuration too. Note that this does not change syntax itself but just accepts mixed value and subkeys e.g. key = value1 key.subkey = value2 But this is not accepted; key { value1 subkey = value2 } That will make value1 as a subkey. Also, the order of the value node under a key is fixed. If there are a value and subkeys, the value is always the first child node of the key. Thus if user specifies subkeys first, e.g. key.subkey = value1 key = value2 In the program (and /proc/bootconfig), it will be shown as below key = value2 key.subkey = value1 Picking this up FROMLIST to get the fix ASAP. It is likely to be accepted upstream. Signed-off-by: Devin Moore <devinmoore@google.com> Link: https://lore.kernel.org/lkml/162262192121.264090.6540508908529705156.stgit@devnote2/ Bug: 183237066 Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org> Change-Id: I60bdc229c5162efc55fe2e40c75c993f0f27ac18 |
||
Masami Hiramatsu
|
7559923b1a |
FROMLIST: bootconfig: Change array value to use child node
It is not possible to put an array value with subkeys under a key node, because both of subkeys and the array elements are using "next" field of the xbc_node. Thus this changes the array values to use "child" field in the array case. The reason why split this change is to test it easily. Picking this up FROMLIST to get the fix ASAP. It is likely to be accepted upstream. Signed-off-by: Devin Moore <devinmoore@google.com> Link: https://lore.kernel.org/lkml/162262192121.264090.6540508908529705156.stgit@devnote2/ Bug: 183237066 Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org> Change-Id: Iabd54cda32f6bde12297942d6b03bd2555e6eb0c |
||
qctecmdr
|
5625aa6ddb |
Merge "Merge keystone/android12-5.10-keystone-qcom-release.39+ (9782146 ) into msm-5.10"
|
||
qctecmdr
|
29787a3151 | Merge "soc: qcom: Kconfig: Move DEBUG_SPINLOCK_*_ON_BUG to qcom Kconfig" | ||
Ivaylo Georgiev
|
9e52596f2d |
Merge keystone/android12-5.10-keystone-qcom-release.39+ (9782146 ) into msm-5.10
* refs/heads/tmp-9782146: FROMGIT: usb: typec: tcpm: Respond Not_Supported if no snk_vdo FROMGIT: usb: typec: tcpm: Properly interrupt VDM AMS FROMGIT: usb: typec: tcpm: Use LE to CPU conversion when accessing msg->header UPSTREAM: swiotlb: Fix the type of index ANDROID: Don't add image to all target with KBUILD_MIXED_TREE Linux 5.10.39 scripts: switch explicitly to Python 3 tweewide: Fix most Shebang lines ipv6: remove extra dev_hold() for fallback tunnels ip6_tunnel: sit: proper dev_{hold|put} in ndo_[un]init methods sit: proper dev_{hold|put} in ndo_[un]init methods ip6_gre: proper dev_{hold|put} in ndo_[un]init methods net: stmmac: Do not enable RX FIFO overflow interrupts lib: stackdepot: turn depot_lock spinlock to raw_spinlock block: reexpand iov_iter after read/write ALSA: hda: generic: change the DAC ctl name for LO+SPK or LO+HP net:CXGB4: fix leak if sk_buff is not used gpiolib: acpi: Add quirk to ignore EC wakeups on Dell Venue 10 Pro 5055 drm/amd/display: Fix two cursor duplication when using overlay nvmet: remove unsupported command noise net: hsr: check skb can contain struct hsr_ethhdr in fill_frame_info bridge: Fix possible races between assigning rx_handler_data and setting IFF_BRIDGE_PORT bit amdgpu/pm: Prevent force of DCEFCLK on NAVI10 and SIENNA_CICHLID scsi: target: tcmu: Return from tcmu_handle_completions() if cmd_id not found ceph: don't allow access to MDS-private inodes ceph: don't clobber i_snap_caps on non-I_NEW inode ceph: fix fscache invalidation scsi: lpfc: Fix illegal memory access on Abort IOCBs riscv: Workaround mcount name prior to clang-13 scripts/recordmcount.pl: Fix RISC-V regex for clang riscv: Use $(LD) instead of $(CC) to link vDSO platform/chrome: cros_ec_typec: Add DP mode check ARM: 9075/1: kernel: Fix interrupted SMC calls um: Disable CONFIG_GCOV with MODULES um: Mark all kernel symbols as local NFS: NFS_INO_REVAL_PAGECACHE should mark the change attribute invalid Input: silead - add workaround for x86 BIOS-es which bring the chip up in a stuck state Input: elants_i2c - do not bind to i2c-hid compatible ACPI instantiated devices PCI: tegra: Fix runtime PM imbalance in pex_ep_event_pex_rst_deassert() ACPI / hotplug / PCI: Fix reference count leak in enable_slot() ARM: 9066/1: ftrace: pause/unpause function graph tracer in cpu_suspend() dmaengine: dw-edma: Fix crash on loading/unloading driver PCI: thunder: Fix compile testing virtio_net: Do not pull payload in skb->head isdn: capi: fix mismatched prototypes cxgb4: Fix the -Wmisleading-indentation warning usb: sl811-hcd: improve misleading indentation kgdb: fix gcc-11 warning on indentation airo: work around stack usage warning drm/i915/display: fix compiler warning about array overrun x86/msr: Fix wr/rdmsr_safe_regs_on_cpu() prototypes ANDROID: I3C: Enable I3C core framework ANDROID: GKI: Update abi_gki_aarch64_qcom for hung task detect ANDROID: GKI: 5/21 KMI update FROMGIT: blk-mq: clearing flush request reference in tags->rqs[] FROMGIT: blk-mq: clear stale request in tags->rq[] before freeing one request pool FROMGIT: blk-mq: grab rq->refcount before calling ->fn in blk_mq_tagset_busy_iter Revert "ANDROID: GKI: Enable CONFIG_KUNIT" BACKPORT: block: Remove queue_limits.bio_max_bytes FROMGIT: kasan: use dump_stack_lvl(KERN_ERR) to print stacks FROMGIT: fix for "printk: introduce dump_stack_lvl()" FROMGIT: printk: introduce dump_stack_lvl() UPSTREAM: arm64: mte: Remove unused mte_assign_mem_tag_range() UPSTREAM: arm64: mte: make the per-task SCTLR_EL1 field usable elsewhere ANDROID: vendor_hooks: add hooks for slab memory leak debugging Revert "Revert "ANDROID: GKI: Change UCLAMP_BUCKETS_COUNT to 20"" ANDROID: GKI: Disable CONFIG_ZONE_DMA on arm64 ANDROID: abi_gki_aarch64_qcom: Add *gic_v3_set_affinity trace syms ANDROID: mmc: Add vendor hooks ANDROID: gic-v3: Change GIC v3 vendor hook to restricted ANDROID: GKI: enable hidden configs for DMA ANDROID: GKI: remove kernel_read from abi symbol list Revert "Revert "mmc: block: Issue a cache flush only when it's enabled"" Revert "ANDROID: GKI: restore a part of "struct mmc_host"" Revert "Revert "media: v4l2-ctrls: fix reference to freed memory"" Revert "Revert "sched,fair: Alternative sched_slice()"" FROMGIT: usb: typec: tcpm: Send DISCOVER_IDENTITY from dedicated work FROMGIT: usb: typec: ucsi: Retrieve all the PDOs instead of just the first 4 Revert "Revert "nvme-pci: set min_align_mask"" Revert "Revert "swiotlb: respect min_align_mask"" Revert "Revert "swiotlb: don't modify orig_addr in swiotlb_tbl_sync_single"" Revert "Revert "swiotlb: refactor swiotlb_tbl_map_single"" Revert "Revert "swiotlb: clean up swiotlb_tbl_unmap_single"" Revert "Revert "swiotlb: factor out a nr_slots helper"" Revert "Revert "swiotlb: factor out an io_tlb_offset helper"" Revert "Revert "swiotlb: add a IO_TLB_SIZE define"" Revert "Revert "driver core: add a min_align_mask field to struct device_dma_parameters"" Revert "Revert "capabilities: require CAP_SETFCAP to map uid 0"" Revert "ANDROID: usb: typec: ucsi: Ensure bounds check when accessing src_pdos" ANDROID: Fix compilation error with huge_pmd_share() UPSTREAM: mm: memblock: add more debug logs UPSTREAM: mm: memblock: drop __init from memblock functions to make it inline ANDROID: modpost: Check for KBUILD_MIXED_TREE for Modules.symvers ANDROID: hung_task: Add vendor hook for hung task detect ANDROID: vendor_hooks: add hook to balance_dirty_pages() ANDROID: vendor_hooks: Add hooks for reducing virtual address fragmentation ANDROID: abi_gki_aarch64_qcom: Add aes_encrypt/aes_expandkey ANDROID: iommu: Add vendor hook for iova allocation and free tracking ANDROID: iommu/io-pgtable-arm: Fix unmapping loop in __arm_lpae_unmap() ANDROID: kernel: Fix debug_kinfo warning message Revert "mm: fix struct page layout on 32-bit systems" Revert "usb: typec: ucsi: Retrieve all the PDOs instead of just the first 4" Revert "kyber: fix out of bounds access when preempted" Revert "PM: runtime: Fix unpaired parent child_count for force_resume" Revert "clocksource/drivers/timer-ti-dm: Handle dra7 timer wrap errata i940" ANDROID: ABI: Update allowed list for QCOM ANDROID: Update the ABI xml ANDROID: Update the generic symbol list ANDROID: Update the generic symbol list ANDROID: Update the generic symbol list ANDROID: abi_gki_aarch64_qcom: Add missing symbols for i3c ANDROID: dm-user: Drop additional reference FROMGIT: scsi: ufs: ufs-mediatek: Fix power down spec violation UPSTREAM: scsi: ufs-mediatek: Support option to disable auto-hibern8 UPSTREAM: scsi: ufs-mediatek: Decouple features from platform bindings BACKPORT: scsi: ufs-mediatek: Support VA09 regulator operations UPSTREAM: scsi: ufs: Add retry flow for failed HBA enabling Linux 5.10.38 ASoC: rsnd: check all BUSIF status when error nvme: do not try to reconfigure APST when the controller is not live ext4: fix debug format string warning debugfs: Make debugfs_allow RO after init dt-bindings: serial: 8250: Remove duplicated compatible strings dt-bindings: media: renesas,vin: Make resets optional on R-Car Gen1 i2c: mediatek: Fix send master code at more than 1MHz media: rkvdec: Remove of_match_ptr() clk: exynos7: Mark aclk_fsys1_200 as critical drm/i915: Fix crash in auto_retire drm/i915/overlay: Fix active retire callback alignment drm/i915: Read C0DRB3/C1DRB3 as 16 bits again drm/i915/gt: Fix a double free in gen8_preallocate_top_level_pdp kobject_uevent: remove warning in init_uevent_argv() usb: typec: tcpm: Fix error while calculating PPS out values ARM: 9027/1: head.S: explicitly map DT even if it lives in the first physical section ARM: 9020/1: mm: use correct section size macro to describe the FDT virtual address ARM: 9012/1: move device tree mapping out of linear region ARM: 9011/1: centralize phys-to-virt conversion of DT/ATAGS address clocksource/drivers/timer-ti-dm: Handle dra7 timer wrap errata i940 clocksource/drivers/timer-ti-dm: Prepare to handle dra7 timer wrap issue MIPS: Avoid handcoded DIVU in `__div64_32' altogether MIPS: Avoid DIVU in `__div64_32' is result would be zero MIPS: Reinstate platform `__div64_32' handler mm: fix struct page layout on 32-bit systems iommu/vt-d: Remove WO permissions on second-level paging entries iommu/vt-d: Preset Access/Dirty bits for IOVA over FL Revert "iommu/vt-d: Preset Access/Dirty bits for IOVA over FL" Revert "iommu/vt-d: Remove WO permissions on second-level paging entries" KVM: VMX: Disable preemption when probing user return MSRs KVM: VMX: Do not advertise RDPID if ENABLE_RDTSCP control is unsupported KVM: nVMX: Always make an attempt to map eVMCS after migration KVM: x86: Move RDPID emulation intercept to its own enum KVM: x86: Emulate RDPID only if RDTSCP is supported xen/gntdev: fix gntdev_mmap() error exit path cdc-wdm: untangle a circular dependency between callback and softint iio: tsl2583: Fix division by a zero lux_val iio: gyro: mpu3050: Fix reported temperature value xhci: Add reset resume quirk for AMD xhci controller. xhci: Do not use GFP_KERNEL in (potentially) atomic context xhci-pci: Allow host runtime PM as default for Intel Alder Lake xHCI usb: typec: ucsi: Put fwnode in any case during ->probe() usb: typec: ucsi: Retrieve all the PDOs instead of just the first 4 usb: dwc3: gadget: Return success always for kick transfer in ep queue usb: dwc3: gadget: Enable suspend events usb: core: hub: fix race condition about TRSMRCY of resume usb: dwc2: Fix gadget DMA unmap direction usb: xhci: Increase timeout for HC halt usb: dwc3: pci: Enable usb2-gadget-lpm-disable for Intel Merrifield usb: dwc3: omap: improve extcon initialization blk-mq: Swap two calls in blk_mq_exit_queue() blk-mq: plug request for shared sbitmap nbd: Fix NULL pointer in flush_workqueue f2fs: compress: fix to assign cc.cluster_idx correctly f2fs: compress: fix race condition of overwrite vs truncate f2fs: compress: fix to free compress page correctly nvmet-rdma: Fix NULL deref when SEND is completed with error nvmet: fix inline bio check for bdev-ns nvmet: add lba to sect conversion helpers kyber: fix out of bounds access when preempted ACPI: scan: Fix a memory leak in an error handling path usb: musb: Fix an error message hwmon: (occ) Fix poll rate limiting usb: fotg210-hcd: Fix an error message iio: hid-sensors: select IIO_TRIGGERED_BUFFER under HID_SENSOR_IIO_TRIGGER iio: proximity: pulsedlight: Fix rumtime PM imbalance on error iio: light: gp2ap002: Fix rumtime PM imbalance on error usb: dwc3: gadget: Free gadget structure only after freeing endpoints perf tools: Fix dynamic libbpf link xen/unpopulated-alloc: fix error return code in fill_list() xen/unpopulated-alloc: consolidate pgmap manipulation dax: Wake up all waiters after invalidating dax entry dax: Add a wakeup mode parameter to put_unlocked_entry() dax: Add an enum for specifying dax wakup mode KVM: x86: Prevent deadlock against tk_core.seq KVM: x86: Cancel pvclock_gtod_work on module removal drm/msm/dp: initialize audio_comp when audio starts KVM: LAPIC: Accurately guarantee busy wait for timer to expire when using hv_timer kvm: exit halt polling on need_resched() as well drm/i915: Avoid div-by-zero on gen2 drm/amd/display: Initialize attribute for hdcp_srm sysfs file drm/radeon/dpm: Disable sclk switching on Oland when two 4K 60Hz monitors are connected btrfs: fix race leading to unpersisted data and metadata on fsync arm64: Fix race condition on PG_dcache_clean in __sync_icache_dcache() arm64: mte: initialize RGSR_EL1.SEED in __cpu_setup blk-iocost: fix weight updates of inner active iocgs mm/hugetlb: fix F_SEAL_FUTURE_WRITE kasan: fix unit tests with CONFIG_UBSAN_LOCAL_BOUNDS enabled userfaultfd: release page in error path to avoid BUG_ON squashfs: fix divide error in calculate_skip() hfsplus: prevent corruption in shrinking truncate powerpc/64s: Fix crashes when toggling entry flush barrier powerpc/64s: Fix crashes when toggling stf barrier ARC: mm: Use max_high_pfn as a HIGHMEM zone border ARC: mm: PAE: use 40-bit physical page mask ARC: entry: fix off-by-one error in syscall number validation f2fs: avoid unneeded data copy in f2fs_ioc_move_range() mptcp: fix splat when closing unaccepted socket i40e: Fix PHY type identifiers for 2.5G and 5G adapters i40e: fix the restart auto-negotiation after FEC modified i40e: Fix use-after-free in i40e_client_subtask() i40e: fix broken XDP support netfilter: nftables: avoid overflows in nft_hash_buckets() kernel/resource: make walk_mem_res() find all busy IORESOURCE_MEM resources kernel/resource: make walk_system_ram_res() find all busy IORESOURCE_SYSTEM_RAM resources kernel: kexec_file: fix error return code of kexec_calculate_store_digests() fs/proc/generic.c: fix incorrect pde_is_permanent check sched/fair: Fix unfairness caused by missing load decay sched: Fix out-of-bound access in uclamp can: m_can: m_can_tx_work_queue(): fix tx_skb race condition can: mcp251x: fix resume from sleep before interface was brought up can: mcp251xfd: mcp251xfd_probe(): add missing can_rx_offload_del() in error path netfilter: nftables: Fix a memleak from userdata error path in new objects netfilter: nfnetlink_osf: Fix a missing skb_header_pointer() NULL check smc: disallow TCP_ULP in smc_setsockopt() net: fix nla_strcmp to handle more then one trailing null character ethtool: fix missing NLM_F_MULTI flag when dumping mm/gup: check for isolation errors mm/gup: return an error on migration failure mm/gup: check every subpage of a compound page during isolation ksm: fix potential missing rmap_item for stable_node mm/migrate.c: fix potential indeterminate pte entry in migrate_vma_insert_page() mm/hugeltb: handle the error case in hugetlb_fix_reserve_counts() khugepaged: fix wrong result value for trace_mm_collapse_huge_page_isolate() arm64: entry: always set GIC_PRIO_PSR_I_SET during entry arm64: entry: factor irq triage logic into macros drm/radeon: Avoid power table parsing memory leaks drm/radeon: Fix off-by-one power_state index heap overwrite net: stmmac: Clear receive all(RA) bit when promiscuous mode is off xsk: Fix for xp_aligned_validate_desc() when len == chunk_size netfilter: xt_SECMARK: add new revision to fix structure layout sctp: fix a SCTP_MIB_CURRESTAB leak in sctp_sf_do_dupcook_b ethernet:enic: Fix a use after free bug in enic_hard_start_xmit block/rnbd-clt: Check the return value of the function rtrs_clt_query block/rnbd-clt: Change queue_depth type in rnbd_clt_session to size_t libbpf: Fix signed overflow in ringbuf_process_ring sunrpc: Fix misplaced barrier in call_decode RISC-V: Fix error code returned by riscv_hartid_to_cpuid() sctp: do asoc update earlier in sctp_sf_do_dupcook_a net: hns3: disable phy loopback setting in hclge_mac_start_phy net: hns3: use netif_tx_disable to stop the transmit queue net: hns3: fix for vxlan gpe tx checksum bug net: hns3: add check for HNS3_NIC_STATE_INITED in hns3_reset_notify_up_enet() net: hns3: initialize the message content in hclge_get_link_mode() net: hns3: fix incorrect configuration for igu_egu_hw_err rtc: ds1307: Fix wday settings for rx8130 scsi: ufs: core: Narrow down fast path in system suspend path scsi: ufs: core: Cancel rpm_dev_flush_recheck_work during system suspend scsi: ufs: core: Do not put UFS power into LPM if link is broken scsi: qla2xxx: Prevent PRLI in target mode ceph: fix inode leak on getattr error in __fh_to_dentry swiotlb: Fix the type of index xprtrdma: rpcrdma_mr_pop() already does list_del_init() xprtrdma: Fix cwnd update ordering xprtrdma: Avoid Receive Queue wrapping pwm: atmel: Fix duty cycle calculation in .get_state() SUNRPC: fix ternary sign expansion bug in tracing dmaengine: idxd: fix cdev setup and free device lifetime issues dmaengine: idxd: fix dma device lifetime dmaengine: idxd: Fix potential null dereference on pointer status rtc: fsl-ftm-alarm: add MODULE_TABLE() nfsd: ensure new clients break delegations NFSv4.x: Don't return NFS4ERR_NOMATCHING_LAYOUT if we're unmounting thermal/drivers/tsens: Fix missing put_device error SUNRPC: Handle major timeout in xprt_adjust_timeout() SUNRPC: Remove trace_xprt_transmit_queued SUNRPC: Move fault injection call sites NFSv4.2 fix handling of sr_eof in SEEK's reply pNFS/flexfiles: fix incorrect size check in decode_nfs_fh() PCI: endpoint: Fix missing destroy_workqueue() NFS: Deal correctly with attribute generation counter overflow NFSv4.2: Always flush out writes in nfs42_proc_fallocate() NFS: Fix attribute bitmask in _nfs42_proc_fallocate() NFS: nfs4_bitmask_adjust() must not change the server global bitmasks rpmsg: qcom_glink_native: fix error return code of qcom_glink_rx_data() f2fs: fix to avoid accessing invalid fio in f2fs_allocate_data_block() f2fs: Fix a hungtask problem in atomic write f2fs: fix to cover __allocate_new_section() with curseg_lock f2fs: fix to avoid touching checkpointed data in get_victim() PCI: endpoint: Fix NULL pointer dereference for ->get_features() PCI: endpoint: Make *_free_bar() to return error codes on failure PCI: endpoint: Add helper API to get the 'next' unreserved BAR PCI: endpoint: Make *_get_first_free_bar() take into account 64 bit BAR f2fs: fix to update last i_size if fallocate partially succeeds f2fs: fix to align to section for fallocate() on pinned file ARM: 9064/1: hw_breakpoint: Do not directly check the event's overflow_handler hook PCI: Release OF node in pci_scan_device()'s error path PCI: iproc: Fix return value of iproc_msi_irq_domain_alloc() remoteproc: qcom_q6v5_mss: Validate p_filesz in ELF loader remoteproc: qcom_q6v5_mss: Replace ioremap with memremap f2fs: fix a redundant call to f2fs_balance_fs if an error occurs f2fs: fix panic during f2fs_resize_fs() f2fs: fix to allow migrating fully valid segment f2fs: fix compat F2FS_IOC_{MOVE,GARBAGE_COLLECT}_RANGE f2fs: move ioctl interface definitions to separated file thermal: thermal_of: Fix error return code of thermal_of_populate_bind_params() ASoC: rt286: Make RT286_SET_GPIO_* readable and writable watchdog: fix barriers when printing backtraces from all CPUs watchdog/softlockup: remove logic that tried to prevent repeated reports watchdog: explicitly update timestamp when reporting softlockup watchdog: rename __touch_watchdog() to a better descriptive name ia64: module: fix symbolizer crash on fdescr bnxt_en: Add PCI IDs for Hyper-V VF devices. kbuild: generate Module.symvers only when vmlinux exists selftests: mlxsw: Fix mausezahn invocation in ERSPAN scale test selftests: mlxsw: Increase the tolerance of backlog buildup net: ethernet: mtk_eth_soc: fix RX VLAN offload iavf: remove duplicate free resources calls powerpc/iommu: Annotate nested lock for lockdep qtnfmac: Fix possible buffer overflow in qtnf_event_handle_external_auth wl3501_cs: Fix out-of-bounds warnings in wl3501_mgmt_join wl3501_cs: Fix out-of-bounds warnings in wl3501_send_pkt crypto: ccp: Free SEV device if SEV init fails mt76: mt7615: fix entering driver-own state on mt7663 drm/amdgpu: Add mem sync flag for IB allocated by SA drm/amd/display: add handling for hdcp2 rx id list validation drm/amd/display: fixed divide by zero kernel crash during dsc enablement powerpc/pseries: Stop calling printk in rtas_stop_self() samples/bpf: Fix broken tracex1 due to kprobe argument change net: sched: tapr: prevent cycle_time == 0 in parse_taprio_schedule ethtool: ioctl: Fix out-of-bounds warning in store_link_ksettings_for_user() ASoC: rt286: Generalize support for ALC3263 codec powerpc/smp: Set numa node before updating mask flow_dissector: Fix out-of-bounds warning in __skb_flow_bpf_to_target() sctp: Fix out-of-bounds warning in sctp_process_asconf_param() ALSA: hda/hdmi: fix race in handling acomp ELD notification at resume ASoC: Intel: sof_sdw: add quirk for new ADL-P Rvp ALSA: hda/realtek: Add quirk for Lenovo Ideapad S740 kconfig: nconf: stop endless search loops selftests: Set CC to clang in lib.mk if LLVM is set drm/amd/display: Force vsync flip when reconfiguring MPCC iommu/amd: Remove performance counter pre-initialization test Revert "iommu/amd: Fix performance counter initialization" ASoC: rsnd: call rsnd_ssi_master_clk_start() from rsnd_ssi_init() powerpc/mm: Add cond_resched() while removing hpte mappings iwlwifi: pcie: make cfg vs. trans_cfg more robust cuse: prevent clone virtiofs: fix userns fuse: invalidate attrs when page writeback completes mt76: mt7915: fix txpower init for TSSI off chips mt76: mt76x0: disable GTK offloading mt76: mt7615: support loading EEPROM for MT7613BE rtw88: 8822c: add LC calibration for RTL8822C pinctrl: samsung: use 'int' for register masks in Exynos mac80211: clear the beacon's CRC after channel switch IB/hfi1: Correct oversized ring allocation coresight: Do not scan for graph if none is present MIPS: Loongson64: Use _CACHE_UNCACHED instead of _CACHE_UNCACHED_ACCELERATED i2c: Add I2C_AQ_NO_REP_START adapter quirk ASoC: rt5670: Add a quirk for the Dell Venue 10 Pro 5055 Bluetooth: btusb: Enable quirk boolean flag for Mediatek Chip. ice: handle increasing Tx or Rx ring sizes ASoC: Intel: bytcr_rt5640: Add quirk for the Chuwi Hi8 tablet ip6_vti: proper dev_{hold|put} in ndo_[un]init methods net: hns3: add handling for xmit skb with recursive fraglist net: hns3: remediate a potential overflow risk of bd_num_list powerpc/32: Statically initialise first emergency context selftests/powerpc: Fix L1D flushing tests for Power10 Bluetooth: check for zapped sk before connecting net: bridge: when suppression is enabled exclude RARP packets net/sched: cls_flower: use ntohs for struct flow_dissector_key_ports Bluetooth: initialize skb_queue_head at l2cap_chan_create() Bluetooth: Set CONF_NOT_COMPLETE as l2cap_chan default ALSA: bebob: enable to deliver MIDI messages for multiple ports ALSA: rme9652: don't disable if not enabled ALSA: hdspm: don't disable if not enabled ALSA: hdsp: don't disable if not enabled i2c: bail out early when RDWR parameters are wrong Bluetooth: Fix incorrect status handling in LE PHY UPDATE event ASoC: rsnd: core: Check convert rate in rsnd_hw_params net: stmmac: Set FIFO sizes for ipq806x net/mlx5e: Use net_prefetchw instead of prefetchw in MPWQE TX datapath ASoC: Intel: bytcr_rt5640: Enable jack-detect support on Asus T100TAF tipc: convert dest node's address to network order fs: dlm: flush swork on shutdown fs: dlm: check on minimum msglen size fs: dlm: add errno handling to check callback fs: dlm: fix debugfs dump ath11k: fix thermal temperature read kvm: Cap halt polling at kvm->max_halt_poll_ns cpufreq: intel_pstate: Use HWP if enabled by platform firmware PM: runtime: Fix unpaired parent child_count for force_resume ACPI: PM: Add ACPI ID of Alder Lake Fan KVM/VMX: Invoke NMI non-IST entry instead of IST entry KVM: x86/mmu: Remove the defunct update_pte() paging hook tpm, tpm_tis: Reserve locality in tpm_tis_resume() tpm, tpm_tis: Extend locality handling to TPM2 in tpm_tis_gen_interrupt() tpm: fix error return code in tpm2_get_cc_attrs_tbl() KEYS: trusted: Fix memory leak on object td UPSTREAM: module: unexport find_module and module_mutex FROMLIST: scsi: ufs: Increase the usable queue depth ANDROID: abi_gki_aarch64_qcom: Add vmemdup_user ANDROID: cgroup: add vendor hook to cgroup .attach() ANDROID: gki_defconfig: Enable HID_BETOP_FF JOYSTICK_XPAD_FF and JOYSTICK_XPAD_LEDS ANDROID: abi_gki_aarch64_qcom: Add devm_rproc_* APIs ANDROID: Incremental fs: Add uid to INCFS_IOC_GET_LAST_READ_ERROR ANDROID: Incremental fs: Make sysfs_name changeable on remount ANDROID: Incremental fs: Count pending_reads even when very short ANDROID: sched/fair: export sysctl_sched_min_granularity symbol ANDROID: Fix compat hwcap reporting on asymmetric 32-bit SoCs Revert "ANDROID: usb: dwc3: gadget: don't cancel the started requests" BACKPORT: sched/uclamp: Allow to reset a task uclamp constraint value ANDROID: GKI: restore termiox fields Revert "spi: Fix use-after-free with devm_spi_alloc_*" FROMGIT: block: avoid double io accounting for flush request UPSTREAM: kasan: fix kasan_byte_accessible() to be consistent with actual checks FROMLIST: blk-mq: Swap two calls in blk_mq_exit_queue() ANDROID: FUSE OWNERS pointing to android-mainline OWNERS Linux 5.10.37 sctp: delay auto_asconf init until binding the first addr Revert "net/sctp: fix race condition in sctp_destroy_sock" smp: Fix smp_call_function_single_async prototype net: Only allow init netns to set default tcp cong to a restricted algo arm64: Remove arm64_dma32_phys_limit and its uses bpf: Prevent writable memory-mapping of read-only ringbuf pages bpf, ringbuf: Deny reserve of buffers larger than ringbuf bpf: Fix alu32 const subreg bound tracking on bitwise operations afs: Fix speculative status fetches mm/memory-failure: unnecessary amount of unmapping mm/sparse: add the missing sparse_buffer_fini() in error branch mm: memcontrol: slab: fix obtain a reference to a freeing memcg mm/sl?b.c: remove ctor argument from kmem_cache_flags kfifo: fix ternary sign extension bugs ia64: fix EFI_DEBUG build perf session: Add swap operation for event TIME_CONV perf jit: Let convert_timestamp() to be backwards-compatible perf tools: Change fields type in perf_record_time_conv net:nfc:digital: Fix a double free in digital_tg_recv_dep_req net: bridge: mcast: fix broken length + header check for MRDv6 Adv. RDMA/bnxt_re: Fix a double free in bnxt_qplib_alloc_res RDMA/siw: Fix a use after free in siw_alloc_mr bpf: Fix propagation of 32 bit unsigned bounds from 64 bit bounds selftests/bpf: Fix core_reloc test runner selftests/bpf: Fix field existence CO-RE reloc tests selftests/bpf: Fix BPF_CORE_READ_BITFIELD() macro net:emac/emac-mac: Fix a use after free in emac_mac_tx_buf_send KVM: VMX: Intercept FS/GS_BASE MSR accesses for 32-bit KVM bnxt_en: Fix RX consumer index logic in the error path. selftests: mlxsw: Remove a redundant if statement in tc_flower_scale test selftests: net: mirror_gre_vlan_bridge_1q: Make an FDB entry static net: geneve: modify IP header check in geneve6_xmit_skb and geneve_xmit_skb arm64: dts: uniphier: Change phy-mode to RGMII-ID to enable delay pins for RTL8211E ARM: dts: uniphier: Change phy-mode to RGMII-ID to enable delay pins for RTL8211E bnxt_en: fix ternary sign extension bug in bnxt_show_temp() net: enetc: fix link error again net: phy: marvell: fix m88e1111_set_downshift net: phy: marvell: fix m88e1011_set_downshift powerpc/52xx: Fix an invalid ASM expression ('addi' used instead of 'add') powerpc/perf: Fix the threshold event selection for memory events in power10 wlcore: Fix buffer overrun by snprintf due to incorrect buffer size ath10k: Fix ath10k_wmi_tlv_op_pull_peer_stats_info() unlock without lock ath10k: Fix a use after free in ath10k_htc_send_bundle ath9k: Fix error check in ath9k_hw_read_revisions() for PCI devices powerpc/64: Fix the definition of the fixmap area RDMA/core: Add CM to restrack after successful attachment to a device RDMA/rxe: Fix a bug in rxe_fill_ip_info() net: phy: intel-xway: enable integrated led functions net: renesas: ravb: Fix a stuck issue when a lot of frames are received net: stmmac: fix TSO and TBS feature enabling during driver open nfp: devlink: initialize the devlink port attribute "lanes" crypto: ccp: Detect and reject "invalid" addresses destined for PSP mt76: mt7615: fix memleak when mt7615_unregister_device() net: davinci_emac: Fix incorrect masking of tx and rx error channel net: marvell: prestera: fix port event handling on init vsock/virtio: free queued packets when closing socket sfc: ef10: fix TX queue lookup in TX event handling ALSA: usb: midi: don't return -ENOMEM when usb_urb_ep_type_check fails RDMA/i40iw: Fix error unwinding when i40iw_hmc_sd_one fails RDMA/cxgb4: add missing qpid increment gro: fix napi_gro_frags() Fast GRO breakage due to IP alignment check net: ethernet: ixp4xx: Set the DMA masks explicitly libbpf: Initialize the bpf_seq_printf parameters array field by field vsock/vmci: log once the failed queue pair allocation netfilter: nftables_offload: special ethertype handling for VLAN netfilter: nftables_offload: VLAN id needs host byteorder in flow dissector netfilter: nft_payload: fix C-VLAN offload support mwl8k: Fix a double Free in mwl8k_probe_hw i2c: mediatek: Fix wrong dma sync flag i2c: sh7760: fix IRQ error path wlcore: fix overlapping snprintf arguments in debugfs rtlwifi: 8821ae: upgrade PHY and RF parameters KVM: x86: dump_vmcs should not assume GUEST_IA32_EFER is valid powerpc/smp: Reintroduce cpu_core_mask powerpc/pseries: extract host bridge from pci_bus prior to bus removal MIPS: pci-legacy: stop using of_pci_range_to_resource drm/amd/pm: fix error code in smu_set_power_limit() perf beauty: Fix fsconfig generator iommu/amd: Put newline after closing bracket in warning drm/i915/gvt: Fix error code in intel_gvt_init_device() net/packet: remove data races in fanout operations net/packet: make packet_fanout.arr size configurable up to 64K net/mlx5: Fix bit-wise and with zero ASoC: ak5558: correct reset polarity powerpc/xive: Fix xmon command "dxi" powerpc/xive: Drop check on irq_data in xive_core_debug_show() i2c: sh7760: add IRQ check i2c: rcar: add IRQ check i2c: rcar: protect against supurious interrupts on V3U i2c: rcar: make sure irq is not threaded on Gen2 and earlier i2c: mlxbf: add IRQ check i2c: jz4780: add IRQ check i2c: emev2: add IRQ check i2c: cadence: add IRQ check i2c: xiic: fix reference leak when pm_runtime_get_sync fails i2c: stm32f7: fix reference leak when pm_runtime_get_sync fails i2c: sprd: fix reference leak when pm_runtime_get_sync fails i2c: omap: fix reference leak when pm_runtime_get_sync fails i2c: imx: fix reference leak when pm_runtime_get_sync fails i2c: imx-lpi2c: fix reference leak when pm_runtime_get_sync fails i2c: img-scb: fix reference leak when pm_runtime_get_sync fails i2c: cadence: fix reference leak when pm_runtime_get_sync fails RDMA/rtrs-clt: destroy sysfs after removing session from active list RDMA/srpt: Fix error return code in srpt_cm_req_recv() net: thunderx: Fix unintentional sign extension issue cxgb4: Fix unintentional sign extension issues RDMA/bnxt_re: Fix error return code in bnxt_qplib_cq_process_terminal() IB/hfi1: Fix error return code in parse_platform_config() RDMA/qedr: Fix error return code in qedr_iw_connect() ovl: invalidate readdir cache on changes to dir with origin KVM: PPC: Book3S HV P9: Restore host CTRL SPR after guest exit mt76: mt7663s: fix the possible device hang in high traffic mt76: mt7663s: make all of packets 4-bytes aligned in sdio tx aggregation mt76: mt7915: fix mib stats counter reporting to mac80211 mt76: mt7615: fix mib stats counter reporting to mac80211 mt76: mt7915: fix aggr len debugfs node mt76: mt7915: fix tx skb dma unmap mt76: mt7615: fix tx skb dma unmap mt7601u: fix always true expression rtw88: Fix an error code in rtw_debugfs_set_rsvd_page() xfs: fix return of uninitialized value in variable error perf vendor events amd: Fix broken L2 Cache Hits from L2 HWPF metric mac80211: bail out if cipher schemes are invalid powerpc: iommu: fix build when neither PCI or IBMVIO is set powerpc/perf: Fix PMU constraint check for EBB events powerpc/64s: Fix pte update for kernel memory on radix IB/hfi1: Use kzalloc() for mmu_rb_handler allocation liquidio: Fix unintented sign extension of a left shift of a u16 ASoC: simple-card: fix possible uninitialized single_cpu local variable KVM: arm64: Initialize VCPU mdcr_el2 before loading it HID: lenovo: Map mic-mute button to KEY_F20 instead of KEY_MICMUTE HID: lenovo: Check hid_get_drvdata() returns non NULL in lenovo_event() HID: lenovo: Fix lenovo_led_set_tp10ubkbd() error handling HID: lenovo: Use brightness_set_blocking callback for setting LEDs brightness ALSA: usb-audio: Add error checks for usb_driver_claim_interface() calls iommu/vt-d: Invalidate PASID cache when root/context entry changed iommu/vt-d: Remove WO permissions on second-level paging entries iommu/vt-d: Preset Access/Dirty bits for IOVA over FL iommu/vt-d: Report the right page fault address iommu/vt-d: Report right snoop capability when using FL for IOVA iommu: Fix a boundary issue to avoid performance drop iommu/vt-d: Don't set then clear private data in prq_event_thread() mips: bmips: fix syscon-reboot nodes net: hns3: Limiting the scope of vector_ring_chain variable nfc: pn533: prevent potential memory corruption RDMA/core: Fix corrupted SL on passive side bug: Remove redundant condition check in report_bug net/tipc: fix missing destroy_workqueue() on error in tipc_crypto_start() powerpc/pseries: Only register vio drivers if vio bus exists udp: never accept GSO_FRAGLIST packets net: phy: lan87xx: fix access to wrong register of LAN87xx ALSA: core: remove redundant spin_lock pair in snd_card_disconnect gpio: guard gpiochip_irqchip_add_domain() with GPIOLIB_IRQCHIP MIPS/bpf: Enable bpf_probe_read{, str}() on MIPS again powerpc: Fix HAVE_HARDLOCKUP_DETECTOR_ARCH build configuration IB/isert: Fix a use after free in isert_connect_request RDMA/mlx5: Fix drop packet rule in egress table iommu/arm-smmu-v3: add bit field SFM into GERROR_ERR_MASK ASoC: wm8960: Remove bitclk relax condition in wm8960_configure_sysclk MIPS: loongson64: fix bug when PAGE_SIZE > 16KB pinctrl: pinctrl-single: fix pcs_pin_dbg_show() when bits_per_mux is not zero pinctrl: pinctrl-single: remove unused parameter inet: use bigger hash table for IP ID generation ima: Fix the error code for restoring the PCR value MIPS: fix local_irq_{disable,enable} in asmmacro.h powerpc/prom: Mark identical_pvr_fixup as __init powerpc/fadump: Mark fadump_calculate_reserve_size as __init libbpf: Add explicit padding to btf_dump_emit_type_decl_opts selftests/bpf: Re-generate vmlinux.h and BPF skeletons if bpftool changed iommu/vt-d: Reject unsupported page request modes iommu: Check dev->iommu in iommu_dev_xxx functions bpftool: Fix maybe-uninitialized warnings libbpf: Add explicit padding to bpf_xdp_set_link_opts net: lapbether: Prevent racing when checking whether the netif is running Bluetooth: avoid deadlock between hci_dev->lock and socket lock KVM: x86/mmu: Retry page faults that hit an invalid memslot wilc1000: write value to WILC_INTR2_ENABLE register RDMA/mlx5: Fix mlx5 rates to IB rates map ASoC: Intel: Skylake: Compile when any configuration is selected ASoC: Intel: boards: sof-wm8804: add check for PLL setting perf symbols: Fix dso__fprintf_symbols_by_name() to return the number of printed chars HID: plantronics: Workaround for double volume key presses xsk: Respect device's headroom and tailroom on generic xmit path drivers/block/null_blk/main: Fix a double free in null_init. sched/debug: Fix cgroup_path[] serialization io_uring: fix overflows checks in provide buffers perf/amd/uncore: Fix sysfs type mismatch x86/events/amd/iommu: Fix sysfs type mismatch HSI: core: fix resource leaks in hsi_add_client_from_dt() media: cedrus: Fix H265 status definitions nvme-pci: don't simple map sgl when sgls are disabled nvmet-tcp: fix a segmentation fault during io parsing error mfd: stm32-timers: Avoid clearing auto reload register mailbox: sprd: Introduce refcnt when clients requests/free channels scsi: ibmvfc: Fix invalid state machine BUG_ON() scsi: sni_53c710: Add IRQ check scsi: sun3x_esp: Add IRQ check scsi: jazz_esp: Add IRQ check scsi: hisi_sas: Fix IRQ checks scsi: ufs: ufshcd-pltfrm: Fix deferred probing scsi: pm80xx: Fix potential infinite loop scsi: pm80xx: Increase timeout for pm80xx mpi_uninit_check() clk: uniphier: Fix potential infinite loop drm/radeon: Fix a missing check bug in radeon_dp_mst_detect() drm/amd/display: use GFP_ATOMIC in dcn20_resource_construct clk: qcom: apss-ipq-pll: Add missing MODULE_DEVICE_TABLE clk: qcom: a53-pll: Add missing MODULE_DEVICE_TABLE drm: xlnx: zynqmp: fix a memset in zynqmp_dp_train() clk: zynqmp: pll: add set_pll_mode to check condition in zynqmp_pll_enable clk: zynqmp: move zynqmp_pll_set_mode out of round_rate callback vfio/mdev: Do not allow a mdev_type to have a NULL parent pointer vfio/pci: Re-order vfio_pci_probe() vfio/pci: Move VGA and VF initialization to functions vfio/fsl-mc: Re-order vfio_fsl_mc_probe() media: v4l2-ctrls.c: fix race condition in hdl->requests list media: i2c: imx219: Balance runtime PM use-count media: i2c: imx219: Move out locking/unlocking of vflip and hflip controls from imx219_set_stream nvme: retrigger ANA log update if group descriptor isn't found power: supply: bq25980: Move props from battery node clk: imx: Fix reparenting of UARTs not associated with stdout nvmet-tcp: fix incorrect locking in state_change sk callback nvme-tcp: block BH in sk state_change sk callback seccomp: Fix CONFIG tests for Seccomp_filters ata: libahci_platform: fix IRQ check sata_mv: add IRQ checks pata_ipx4xx_cf: fix IRQ check pata_arasan_cf: fix IRQ check selftests: fix prepending $(OUTPUT) to $(TEST_PROGS) x86/kprobes: Fix to check non boostable prefixes correctly of: overlay: fix for_each_child.cocci warnings drm/amdkfd: fix build error with AMD_IOMMU_V2=m media: atomisp: Fix use after free in atomisp_alloc_css_stat_bufs() media: m88rs6000t: avoid potential out-of-bounds reads on arrays media: atomisp: Fixed error handling path media: [next] staging: media: atomisp: fix memory leak of object flash media: docs: Fix data organization of MEDIA_BUS_FMT_RGB101010_1X30 media: m88ds3103: fix return value check in m88ds3103_probe() media: platform: sunxi: sun6i-csi: fix error return code of sun6i_video_start_streaming() media: venus: core: Fix some resource leaks in the error path of 'venus_probe()' drm/probe-helper: Check epoch counter in output_poll_execute() media: aspeed: fix clock handling logic media: rkisp1: rsz: crash fix when setting src format media: omap4iss: return error code when omap4iss_get() failed media: saa7146: use sg_dma_len when building pgtable media: saa7134: use sg_dma_len when building pgtable media: vivid: fix assignment of dev->fbuf_out_flags rcu: Remove spurious instrumentation_end() in rcu_nmi_enter() afs: Fix updating of i_mode due to 3rd party change sched/fair: Fix shift-out-of-bounds in load_balance() drm/mcde/panel: Inverse misunderstood flag drm/amd/display: Fix off by one in hdmi_14_process_transaction() drm/stm: Fix bus_flags handling drm/tilcdc: send vblank event when disabling crtc soc: aspeed: fix a ternary sign expansion bug xen-blkback: fix compatibility bug with single page rings serial: omap: fix rs485 half-duplex filtering serial: omap: don't disable rs485 if rts gpio is missing ttyprintk: Add TTY hangup callback. usb: dwc2: Fix hibernation between host and device modes. usb: dwc2: Fix host mode hibernation exit with remote wakeup flow. PM: hibernate: x86: Use crc32 instead of md5 for hibernation e820 integrity check Drivers: hv: vmbus: Increase wait time for VMbus unload hwmon: (pmbus/pxe1610) don't bail out when not all pages are active x86/platform/uv: Fix !KEXEC build failure spi: spi-zynqmp-gqspi: return -ENOMEM if dma_map_single fails spi: spi-zynqmp-gqspi: fix use-after-free in zynqmp_qspi_exec_op spi: spi-zynqmp-gqspi: fix hang issue when suspend/resume spi: spi-zynqmp-gqspi: fix clk_enable/disable imbalance issue Drivers: hv: vmbus: Use after free in __vmbus_open() ARM: dts: aspeed: Rainier: Fix humidity sensor bus address platform/x86: pmc_atom: Match all Beckhoff Automation baytrail boards with critclk_systems DMI table security: keys: trusted: fix TPM2 authorizations memory: samsung: exynos5422-dmc: handle clk_set_parent() failure memory: renesas-rpc-if: fix possible NULL pointer dereference of resource spi: spi-zynqmp-gqspi: Fix missing unlock on error in zynqmp_qspi_exec_op() m68k: Add missing mmap_read_lock() to sys_cacheflush() usbip: vudc: fix missing unlock on error in usbip_sockfd_store() crypto: chelsio - Read rxchannel-id from firmware node: fix device cleanups in error handling code firmware: qcom-scm: Fix QCOM_SCM configuration serial: core: return early on unsupported ioctls tty: fix return value for unsupported termiox ioctls tty: Remove dead termiox code tty: fix return value for unsupported ioctls tty: actually undefine superseded ASYNC flags USB: cdc-acm: fix TIOCGSERIAL implementation USB: cdc-acm: fix unprivileged TIOCCSERIAL usb: gadget: r8a66597: Add missing null check on return from platform_get_resource spi: fsl-lpspi: Fix PM reference leak in lpspi_prepare_xfer_hardware() spi: spi-zynqmp-gqspi: fix incorrect operating mode in zynqmp_qspi_read_op spi: spi-zynqmp-gqspi: transmit dummy circles by using the controller's internal functionality spi: spi-zynqmp-gqspi: add mutex locking for exec_op spi: spi-zynqmp-gqspi: use wait_for_completion_timeout to make zynqmp_qspi_exec_op not interruptible cpufreq: armada-37xx: Fix determining base CPU frequency cpufreq: armada-37xx: Fix driver cleanup when registration failed clk: mvebu: armada-37xx-periph: Fix workaround for switching from L1 to L0 clk: mvebu: armada-37xx-periph: Fix switching CPU freq from 250 Mhz to 1 GHz cpufreq: armada-37xx: Fix the AVS value for load L1 clk: mvebu: armada-37xx-periph: remove .set_parent method for CPU PM clock cpufreq: armada-37xx: Fix setting TBG parent for load levels crypto: qat - Fix a double free in adf_create_ring crypto: sa2ul - Fix memory leak of rxd crypto: sun8i-ss - Fix memory leak of pad crypto: allwinner - add missing CRYPTO_ prefix ACPI: CPPC: Replace cppc_attr with kobj_attribute cpuidle: Fix ARM_QCOM_SPM_CPUIDLE configuration PM: runtime: Replace inline function pm_runtime_callbacks_present() soc: qcom: mdt_loader: Detect truncated read of segments soc: qcom: mdt_loader: Validate that p_filesz < p_memsz spi: fsl: add missing iounmap() on error in of_fsl_spi_probe() spi: Fix use-after-free with devm_spi_alloc_* clocksource/drivers/ingenic_ost: Fix return value check in ingenic_ost_probe() clocksource/drivers/timer-ti-dm: Add missing set_state_oneshot_stopped clocksource/drivers/timer-ti-dm: Fix posted mode status check order PM / devfreq: Use more accurate returned new_freq as resume_freq soc: qcom: pdr: Fix error return code in pdr_register_listener staging: greybus: uart: fix unprivileged TIOCCSERIAL staging: fwserial: fix TIOCGSERIAL implementation staging: fwserial: fix TIOCSSERIAL implementation staging: rtl8192u: Fix potential infinite loop staging: comedi: tests: ni_routes_test: Fix compilation error irqchip/gic-v3: Fix OF_BAD_ADDR error handling mtd: rawnand: gpmi: Fix a double free in gpmi_nand_init iio: adc: Kconfig: make AD9467 depend on ADI_AXI_ADC symbol firmware: qcom_scm: Workaround lack of "is available" call on SC7180 firmware: qcom_scm: Reduce locking section for __get_convention() firmware: qcom_scm: Make __qcom_scm_is_call_available() return bool m68k: mvme147,mvme16x: Don't wipe PCC timer config bits soundwire: stream: fix memory leak in stream config error path memory: pl353: fix mask of ECC page_size config register driver core: platform: Declare early_platform_cleanup() prototype drivers: nvmem: Fix voltage settings for QTI qfprom-efuse USB: gadget: udc: fix wrong pointer passed to IS_ERR() and PTR_ERR() usb: gadget: aspeed: fix dma map failure crypto: qat - fix error path in adf_isr_resource_alloc() crypto: poly1305 - fix poly1305_core_setkey() declaration NFSv4.2: fix copy stateid copying for the async copy NFSD: Fix sparse warning in nfs4proc.c arm64: dts: mediatek: fix reset GPIO level on pumpkin phy: marvell: ARMADA375_USBCLUSTER_PHY should not default to y, unconditionally phy: ti: j721e-wiz: Delete "clk_div_sel" clk provider during cleanup soundwire: bus: Fix device found flag correctly bus: qcom: Put child node before return arm64: dts: renesas: r8a779a0: Fix PMU interrupt mtd: require write permissions for locking and badblock ioctls dt-bindings: serial: stm32: Use 'type: object' instead of false for 'additionalProperties' usb: gadget: s3c: Fix the error handling path in 's3c2410_udc_probe()' usb: gadget: s3c: Fix incorrect resources releasing fotg210-udc: Complete OUT requests on short packets fotg210-udc: Don't DMA more than the buffer can take fotg210-udc: Mask GRP2 interrupts we don't handle fotg210-udc: Remove a dubious condition leading to fotg210_done fotg210-udc: Fix EP0 IN requests bigger than two packets fotg210-udc: Fix DMA on EP0 for length > max packet size crypto: qat - ADF_STATUS_PF_RUNNING should be set after adf_dev_init crypto: qat - don't release uninitialized resources crypto: ccp - fix command queuing to TEE ring buffer usb: gadget: pch_udc: Provide a GPIO line used on Intel Minnowboard (v1) usb: gadget: pch_udc: Initialize device pointer before use usb: gadget: pch_udc: Check for DMA mapping error usb: gadget: pch_udc: Check if driver is present before calling ->setup() usb: gadget: pch_udc: Replace cpu_to_le32() by lower_32_bits() devtmpfs: fix placement of complete() call x86/microcode: Check for offline CPUs before requesting new microcode spi: stm32: Fix use-after-free on unbind arm64: dts: renesas: r8a77980: Fix vin4-7 endpoint binding regulator: bd9576: Fix return from bd957x_probe() spi: stm32: drop devres version of spi_register_master crypto: sun8i-ss - Fix memory leak of object d when dma_iv fails to map arm64: dts: qcom: db845c: fix correct powerdown pin for WSA881x arm64: dts: qcom: sm8250: fix number of pins in 'gpio-ranges' arm64: dts: qcom: sm8150: fix number of pins in 'gpio-ranges' arm64: dts: qcom: sdm845: fix number of pins in 'gpio-ranges' arm64: dts: qcom: sm8250: Fix timer interrupt to specify EL2 physical timer arm64: dts: qcom: sm8250: Fix level triggered PMU interrupt polarity ARM: dts: stm32: fix usart 2 & 3 pinconf to wake up with flow control mtd: maps: fix error return code of physmap_flash_remove() mtd: don't lock when recursively deleting partitions mtd: rawnand: qcom: Return actual error code instead of -ENODEV mtd: Handle possible -EPROBE_DEFER from parse_mtd_partitions() mtd: rawnand: brcmnand: fix OOB R/W with Hamming ECC mtd: rawnand: fsmc: Fix error code in fsmc_nand_probe() spi: rockchip: avoid objtool warning regmap: set debugfs_name to NULL after it is freed usb: typec: stusb160x: fix return value check in stusb160x_probe() usb: typec: tps6598x: Fix return value check in tps6598x_probe() usb: typec: tcpci: Check ROLE_CONTROL while interpreting CC_STATUS serial: stm32: fix tx_empty condition serial: stm32: add FIFO flush when port is closed serial: stm32: fix FIFO flush in startup and set_termios serial: stm32: call stm32_transmit_chars locked serial: stm32: fix tx dma completion, release channel serial: stm32: fix a deadlock in set_termios serial: stm32: fix wake-up flag handling serial: stm32: fix a deadlock condition with wakeup event serial: stm32: fix TX and RX FIFO thresholds serial: stm32: fix incorrect characters on console serial: stm32: fix startup by enabling usart for reception serial: stm32: Use of_device_get_match_data() serial: stm32: fix probe and remove order for dma serial: stm32: add "_usart" prefix in functions name serial: stm32: fix code cleaning warnings and checks x86/platform/uv: Set section block size for hubless architectures arm64: dts: renesas: Add mmc aliases into board dts files ARM: dts: renesas: Add mmc aliases into R-Car Gen2 board dts files ARM: dts: s5pv210: correct fuel gauge interrupt trigger level on Fascinate family ARM: dts: exynos: correct PMIC interrupt trigger level on Snow ARM: dts: exynos: correct PMIC interrupt trigger level on SMDK5250 ARM: dts: exynos: correct PMIC interrupt trigger level on Odroid X/U3 family ARM: dts: exynos: correct PMIC interrupt trigger level on Midas family ARM: dts: exynos: correct MUIC interrupt trigger level on Midas family ARM: dts: exynos: correct fuel gauge interrupt trigger level on Midas family ARM: dts: exynos: correct fuel gauge interrupt trigger level on GT-I9100 memory: gpmc: fix out of bounds read and dereference on gpmc_cs[] crypto: sun8i-ss - fix result memory leak on error path fpga: fpga-mgr: xilinx-spi: fix error messages on -EPROBE_DEFER firmware: xilinx: Remove zynqmp_pm_get_eemi_ops() in IS_REACHABLE(CONFIG_ZYNQMP_FIRMWARE) firmware: xilinx: Add a blank line after function declaration firmware: xilinx: Fix dereferencing freed memory Revert "tools/power turbostat: adjust for temperature offset" usb: gadget: pch_udc: Revert |
||
Greg Kroah-Hartman
|
855f802610 |
This is the 5.10.39 stable release
-----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEZH8oZUiU471FcZm+ONu9yGCSaT4FAmCo0hsACgkQONu9yGCS aT7cVQ/+JJ1ZLbQdcwsaVcfUW4U7CkJl/bF9tLwfSVurUaUshcTIVvf8gUNU4qfz PaNMxMuHv04XWyjAMHOyD8LX4TSyZTE6UFMzkFhNRU9f4X8rkqeVuTk/YDE6cpEV CkaXQ3hZAAL77TEOaa0Ljl6bUZK1W7i0ar52LZc2u+M+olUDsxl1+qbCMCi9akjo kaMBllxmukAglPxLuQNr7+MD9lpgLypZneA45YJCBEdwhYmw31beQuBXHExtCZtz GYTVUNtNjKaeXNhYJmooXiW8uzt19MU7dnL2JQDj7IKTC+LPsOLFcTWPTV7yKEFV W/HZVmYYva1A9gO1QiXFV1pK2qO1YIYGYPps+QGpI4VF2t8QvhYw22xTq9kmsbAW Y0SSQqdGNweSNX+vC/S3lVYFZM3jabr6ECf6oqtvtGBoIWf/03PVVvUHhUfZuR2R iJmbnKePgteK1d4z4qJy9RIChVOjOrQ7ACiRFU1MrPVHo0sSW3AEtLGYgsWDfbbG Le0FMukUroFwdkWrRqSTEyTT9JVAgpVVzdU1C1dWrTRBr/sVgu6TAbCJDn+lgqzK X1/TvNoQVsEuLdj1jx8UGS2ePRezPGWFpGpcoWmTF7P0D1KJ/sS7DgQ3iUV99t+4 H8TgpHGjwiPi+ks/sfzZA7iINvdwwDFs2841HnNqJONhRX5aYdI= =pLOV -----END PGP SIGNATURE----- Merge 5.10.39 into android12-5.10 Changes in 5.10.39 x86/msr: Fix wr/rdmsr_safe_regs_on_cpu() prototypes drm/i915/display: fix compiler warning about array overrun airo: work around stack usage warning kgdb: fix gcc-11 warning on indentation usb: sl811-hcd: improve misleading indentation cxgb4: Fix the -Wmisleading-indentation warning isdn: capi: fix mismatched prototypes virtio_net: Do not pull payload in skb->head PCI: thunder: Fix compile testing dmaengine: dw-edma: Fix crash on loading/unloading driver ARM: 9066/1: ftrace: pause/unpause function graph tracer in cpu_suspend() ACPI / hotplug / PCI: Fix reference count leak in enable_slot() PCI: tegra: Fix runtime PM imbalance in pex_ep_event_pex_rst_deassert() Input: elants_i2c - do not bind to i2c-hid compatible ACPI instantiated devices Input: silead - add workaround for x86 BIOS-es which bring the chip up in a stuck state NFS: NFS_INO_REVAL_PAGECACHE should mark the change attribute invalid um: Mark all kernel symbols as local um: Disable CONFIG_GCOV with MODULES ARM: 9075/1: kernel: Fix interrupted SMC calls platform/chrome: cros_ec_typec: Add DP mode check riscv: Use $(LD) instead of $(CC) to link vDSO scripts/recordmcount.pl: Fix RISC-V regex for clang riscv: Workaround mcount name prior to clang-13 scsi: lpfc: Fix illegal memory access on Abort IOCBs ceph: fix fscache invalidation ceph: don't clobber i_snap_caps on non-I_NEW inode ceph: don't allow access to MDS-private inodes scsi: target: tcmu: Return from tcmu_handle_completions() if cmd_id not found amdgpu/pm: Prevent force of DCEFCLK on NAVI10 and SIENNA_CICHLID bridge: Fix possible races between assigning rx_handler_data and setting IFF_BRIDGE_PORT bit net: hsr: check skb can contain struct hsr_ethhdr in fill_frame_info nvmet: remove unsupported command noise drm/amd/display: Fix two cursor duplication when using overlay gpiolib: acpi: Add quirk to ignore EC wakeups on Dell Venue 10 Pro 5055 net:CXGB4: fix leak if sk_buff is not used ALSA: hda: generic: change the DAC ctl name for LO+SPK or LO+HP block: reexpand iov_iter after read/write lib: stackdepot: turn depot_lock spinlock to raw_spinlock net: stmmac: Do not enable RX FIFO overflow interrupts ip6_gre: proper dev_{hold|put} in ndo_[un]init methods sit: proper dev_{hold|put} in ndo_[un]init methods ip6_tunnel: sit: proper dev_{hold|put} in ndo_[un]init methods ipv6: remove extra dev_hold() for fallback tunnels tweewide: Fix most Shebang lines scripts: switch explicitly to Python 3 Linux 5.10.39 Signed-off-by: Greg Kroah-Hartman <gregkh@google.com> Change-Id: I8406e9c091597f1b08395c84e3728d640d91cbb9 |
||
Zqiang
|
1fb05a3f1f |
lib: stackdepot: turn depot_lock spinlock to raw_spinlock
[ Upstream commit 78564b9434878d686c5f88c4488b20cccbcc42bc ] In RT system, the spin_lock will be replaced by sleepable rt_mutex lock, in __call_rcu(), disable interrupts before calling kasan_record_aux_stack(), will trigger this calltrace: BUG: sleeping function called from invalid context at kernel/locking/rtmutex.c:951 in_atomic(): 0, irqs_disabled(): 1, non_block: 0, pid: 19, name: pgdatinit0 Call Trace: ___might_sleep.cold+0x1b2/0x1f1 rt_spin_lock+0x3b/0xb0 stack_depot_save+0x1b9/0x440 kasan_save_stack+0x32/0x40 kasan_record_aux_stack+0xa5/0xb0 __call_rcu+0x117/0x880 __exit_signal+0xafb/0x1180 release_task+0x1d6/0x480 exit_notify+0x303/0x750 do_exit+0x678/0xcf0 kthread+0x364/0x4f0 ret_from_fork+0x22/0x30 Replace spinlock with raw_spinlock. Link: https://lkml.kernel.org/r/20210329084009.27013-1-qiang.zhang@windriver.com Signed-off-by: Zqiang <qiang.zhang@windriver.com> Reported-by: Andrew Halaney <ahalaney@redhat.com> Cc: Alexander Potapenko <glider@google.com> Cc: Gustavo A. R. Silva <gustavoars@kernel.org> Cc: Vijayanand Jitta <vjitta@codeaurora.org> Cc: Vinayak Menon <vinmenon@codeaurora.org> Cc: Yogesh Lal <ylal@codeaurora.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Sasha Levin <sashal@kernel.org> |
||
Alexander Potapenko
|
359a038bbf |
FROMGIT: printk: introduce dump_stack_lvl()
dump_stack() is used for many different cases, which may require a log level consistent with other kernel messages surrounding the dump_stack() call. Without that, certain systems that are configured to ignore the default level messages will miss stack traces in critical error reports. This patch introduces dump_stack_lvl() that behaves similarly to dump_stack(), but accepts a custom log level. The old dump_stack() becomes equal to dump_stack_lvl(KERN_DEFAULT). A somewhat similar patch has been proposed in 2012: https://lore.kernel.org/lkml/1332493269.2359.9.camel@hebo/ , but wasn't merged. Link: https://lkml.kernel.org/r/20210506105405.3535023-1-glider@google.com Signed-off-by: Alexander Potapenko <glider@google.com> Reviewed-by: Marco Elver <elver@google.com> Cc: Petr Mladek <pmladek@suse.com> Cc: Ingo Molnar <mingo@kernel.org> Cc: he, bo <bo.he@intel.com> Cc: Yanmin Zhang <yanmin_zhang@linux.intel.com> Cc: Prasad Sodagudi <psodagud@quicinc.com> Cc: Dmitry Vyukov <dvyukov@google.com> Cc: Sergey Senozhatsky <senozhatsky@chromium.org> Cc: Steven Rostedt <rostedt@goodmis.org> Cc: Andrey Ryabinin <ryabinin.a.a@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Bug: 186674719 Test: Treehugger (cherry picked from commit e8c4bbbd160c8a29b606a8d7ef8dcdd75f2b7044 https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git akpm) Signed-off-by: Alexander Potapenko <glider@google.com> Change-Id: I6f5cc76cd50d446caf41c8a709c3bf6542fae6f8 |
||
Greg Kroah-Hartman
|
76002c201f |
Merge 5.10.38 into android12-5.10
Changes in 5.10.38 KEYS: trusted: Fix memory leak on object td tpm: fix error return code in tpm2_get_cc_attrs_tbl() tpm, tpm_tis: Extend locality handling to TPM2 in tpm_tis_gen_interrupt() tpm, tpm_tis: Reserve locality in tpm_tis_resume() KVM: x86/mmu: Remove the defunct update_pte() paging hook KVM/VMX: Invoke NMI non-IST entry instead of IST entry ACPI: PM: Add ACPI ID of Alder Lake Fan PM: runtime: Fix unpaired parent child_count for force_resume cpufreq: intel_pstate: Use HWP if enabled by platform firmware kvm: Cap halt polling at kvm->max_halt_poll_ns ath11k: fix thermal temperature read fs: dlm: fix debugfs dump fs: dlm: add errno handling to check callback fs: dlm: check on minimum msglen size fs: dlm: flush swork on shutdown tipc: convert dest node's address to network order ASoC: Intel: bytcr_rt5640: Enable jack-detect support on Asus T100TAF net/mlx5e: Use net_prefetchw instead of prefetchw in MPWQE TX datapath net: stmmac: Set FIFO sizes for ipq806x ASoC: rsnd: core: Check convert rate in rsnd_hw_params Bluetooth: Fix incorrect status handling in LE PHY UPDATE event i2c: bail out early when RDWR parameters are wrong ALSA: hdsp: don't disable if not enabled ALSA: hdspm: don't disable if not enabled ALSA: rme9652: don't disable if not enabled ALSA: bebob: enable to deliver MIDI messages for multiple ports Bluetooth: Set CONF_NOT_COMPLETE as l2cap_chan default Bluetooth: initialize skb_queue_head at l2cap_chan_create() net/sched: cls_flower: use ntohs for struct flow_dissector_key_ports net: bridge: when suppression is enabled exclude RARP packets Bluetooth: check for zapped sk before connecting selftests/powerpc: Fix L1D flushing tests for Power10 powerpc/32: Statically initialise first emergency context net: hns3: remediate a potential overflow risk of bd_num_list net: hns3: add handling for xmit skb with recursive fraglist ip6_vti: proper dev_{hold|put} in ndo_[un]init methods ASoC: Intel: bytcr_rt5640: Add quirk for the Chuwi Hi8 tablet ice: handle increasing Tx or Rx ring sizes Bluetooth: btusb: Enable quirk boolean flag for Mediatek Chip. ASoC: rt5670: Add a quirk for the Dell Venue 10 Pro 5055 i2c: Add I2C_AQ_NO_REP_START adapter quirk MIPS: Loongson64: Use _CACHE_UNCACHED instead of _CACHE_UNCACHED_ACCELERATED coresight: Do not scan for graph if none is present IB/hfi1: Correct oversized ring allocation mac80211: clear the beacon's CRC after channel switch pinctrl: samsung: use 'int' for register masks in Exynos rtw88: 8822c: add LC calibration for RTL8822C mt76: mt7615: support loading EEPROM for MT7613BE mt76: mt76x0: disable GTK offloading mt76: mt7915: fix txpower init for TSSI off chips fuse: invalidate attrs when page writeback completes virtiofs: fix userns cuse: prevent clone iwlwifi: pcie: make cfg vs. trans_cfg more robust powerpc/mm: Add cond_resched() while removing hpte mappings ASoC: rsnd: call rsnd_ssi_master_clk_start() from rsnd_ssi_init() Revert "iommu/amd: Fix performance counter initialization" iommu/amd: Remove performance counter pre-initialization test drm/amd/display: Force vsync flip when reconfiguring MPCC selftests: Set CC to clang in lib.mk if LLVM is set kconfig: nconf: stop endless search loops ALSA: hda/realtek: Add quirk for Lenovo Ideapad S740 ASoC: Intel: sof_sdw: add quirk for new ADL-P Rvp ALSA: hda/hdmi: fix race in handling acomp ELD notification at resume sctp: Fix out-of-bounds warning in sctp_process_asconf_param() flow_dissector: Fix out-of-bounds warning in __skb_flow_bpf_to_target() powerpc/smp: Set numa node before updating mask ASoC: rt286: Generalize support for ALC3263 codec ethtool: ioctl: Fix out-of-bounds warning in store_link_ksettings_for_user() net: sched: tapr: prevent cycle_time == 0 in parse_taprio_schedule samples/bpf: Fix broken tracex1 due to kprobe argument change powerpc/pseries: Stop calling printk in rtas_stop_self() drm/amd/display: fixed divide by zero kernel crash during dsc enablement drm/amd/display: add handling for hdcp2 rx id list validation drm/amdgpu: Add mem sync flag for IB allocated by SA mt76: mt7615: fix entering driver-own state on mt7663 crypto: ccp: Free SEV device if SEV init fails wl3501_cs: Fix out-of-bounds warnings in wl3501_send_pkt wl3501_cs: Fix out-of-bounds warnings in wl3501_mgmt_join qtnfmac: Fix possible buffer overflow in qtnf_event_handle_external_auth powerpc/iommu: Annotate nested lock for lockdep iavf: remove duplicate free resources calls net: ethernet: mtk_eth_soc: fix RX VLAN offload selftests: mlxsw: Increase the tolerance of backlog buildup selftests: mlxsw: Fix mausezahn invocation in ERSPAN scale test kbuild: generate Module.symvers only when vmlinux exists bnxt_en: Add PCI IDs for Hyper-V VF devices. ia64: module: fix symbolizer crash on fdescr watchdog: rename __touch_watchdog() to a better descriptive name watchdog: explicitly update timestamp when reporting softlockup watchdog/softlockup: remove logic that tried to prevent repeated reports watchdog: fix barriers when printing backtraces from all CPUs ASoC: rt286: Make RT286_SET_GPIO_* readable and writable thermal: thermal_of: Fix error return code of thermal_of_populate_bind_params() f2fs: move ioctl interface definitions to separated file f2fs: fix compat F2FS_IOC_{MOVE,GARBAGE_COLLECT}_RANGE f2fs: fix to allow migrating fully valid segment f2fs: fix panic during f2fs_resize_fs() f2fs: fix a redundant call to f2fs_balance_fs if an error occurs remoteproc: qcom_q6v5_mss: Replace ioremap with memremap remoteproc: qcom_q6v5_mss: Validate p_filesz in ELF loader PCI: iproc: Fix return value of iproc_msi_irq_domain_alloc() PCI: Release OF node in pci_scan_device()'s error path ARM: 9064/1: hw_breakpoint: Do not directly check the event's overflow_handler hook f2fs: fix to align to section for fallocate() on pinned file f2fs: fix to update last i_size if fallocate partially succeeds PCI: endpoint: Make *_get_first_free_bar() take into account 64 bit BAR PCI: endpoint: Add helper API to get the 'next' unreserved BAR PCI: endpoint: Make *_free_bar() to return error codes on failure PCI: endpoint: Fix NULL pointer dereference for ->get_features() f2fs: fix to avoid touching checkpointed data in get_victim() f2fs: fix to cover __allocate_new_section() with curseg_lock f2fs: Fix a hungtask problem in atomic write f2fs: fix to avoid accessing invalid fio in f2fs_allocate_data_block() rpmsg: qcom_glink_native: fix error return code of qcom_glink_rx_data() NFS: nfs4_bitmask_adjust() must not change the server global bitmasks NFS: Fix attribute bitmask in _nfs42_proc_fallocate() NFSv4.2: Always flush out writes in nfs42_proc_fallocate() NFS: Deal correctly with attribute generation counter overflow PCI: endpoint: Fix missing destroy_workqueue() pNFS/flexfiles: fix incorrect size check in decode_nfs_fh() NFSv4.2 fix handling of sr_eof in SEEK's reply SUNRPC: Move fault injection call sites SUNRPC: Remove trace_xprt_transmit_queued SUNRPC: Handle major timeout in xprt_adjust_timeout() thermal/drivers/tsens: Fix missing put_device error NFSv4.x: Don't return NFS4ERR_NOMATCHING_LAYOUT if we're unmounting nfsd: ensure new clients break delegations rtc: fsl-ftm-alarm: add MODULE_TABLE() dmaengine: idxd: Fix potential null dereference on pointer status dmaengine: idxd: fix dma device lifetime dmaengine: idxd: fix cdev setup and free device lifetime issues SUNRPC: fix ternary sign expansion bug in tracing pwm: atmel: Fix duty cycle calculation in .get_state() xprtrdma: Avoid Receive Queue wrapping xprtrdma: Fix cwnd update ordering xprtrdma: rpcrdma_mr_pop() already does list_del_init() swiotlb: Fix the type of index ceph: fix inode leak on getattr error in __fh_to_dentry scsi: qla2xxx: Prevent PRLI in target mode scsi: ufs: core: Do not put UFS power into LPM if link is broken scsi: ufs: core: Cancel rpm_dev_flush_recheck_work during system suspend scsi: ufs: core: Narrow down fast path in system suspend path rtc: ds1307: Fix wday settings for rx8130 net: hns3: fix incorrect configuration for igu_egu_hw_err net: hns3: initialize the message content in hclge_get_link_mode() net: hns3: add check for HNS3_NIC_STATE_INITED in hns3_reset_notify_up_enet() net: hns3: fix for vxlan gpe tx checksum bug net: hns3: use netif_tx_disable to stop the transmit queue net: hns3: disable phy loopback setting in hclge_mac_start_phy sctp: do asoc update earlier in sctp_sf_do_dupcook_a RISC-V: Fix error code returned by riscv_hartid_to_cpuid() sunrpc: Fix misplaced barrier in call_decode libbpf: Fix signed overflow in ringbuf_process_ring block/rnbd-clt: Change queue_depth type in rnbd_clt_session to size_t block/rnbd-clt: Check the return value of the function rtrs_clt_query ethernet:enic: Fix a use after free bug in enic_hard_start_xmit sctp: fix a SCTP_MIB_CURRESTAB leak in sctp_sf_do_dupcook_b netfilter: xt_SECMARK: add new revision to fix structure layout xsk: Fix for xp_aligned_validate_desc() when len == chunk_size net: stmmac: Clear receive all(RA) bit when promiscuous mode is off drm/radeon: Fix off-by-one power_state index heap overwrite drm/radeon: Avoid power table parsing memory leaks arm64: entry: factor irq triage logic into macros arm64: entry: always set GIC_PRIO_PSR_I_SET during entry khugepaged: fix wrong result value for trace_mm_collapse_huge_page_isolate() mm/hugeltb: handle the error case in hugetlb_fix_reserve_counts() mm/migrate.c: fix potential indeterminate pte entry in migrate_vma_insert_page() ksm: fix potential missing rmap_item for stable_node mm/gup: check every subpage of a compound page during isolation mm/gup: return an error on migration failure mm/gup: check for isolation errors ethtool: fix missing NLM_F_MULTI flag when dumping net: fix nla_strcmp to handle more then one trailing null character smc: disallow TCP_ULP in smc_setsockopt() netfilter: nfnetlink_osf: Fix a missing skb_header_pointer() NULL check netfilter: nftables: Fix a memleak from userdata error path in new objects can: mcp251xfd: mcp251xfd_probe(): add missing can_rx_offload_del() in error path can: mcp251x: fix resume from sleep before interface was brought up can: m_can: m_can_tx_work_queue(): fix tx_skb race condition sched: Fix out-of-bound access in uclamp sched/fair: Fix unfairness caused by missing load decay fs/proc/generic.c: fix incorrect pde_is_permanent check kernel: kexec_file: fix error return code of kexec_calculate_store_digests() kernel/resource: make walk_system_ram_res() find all busy IORESOURCE_SYSTEM_RAM resources kernel/resource: make walk_mem_res() find all busy IORESOURCE_MEM resources netfilter: nftables: avoid overflows in nft_hash_buckets() i40e: fix broken XDP support i40e: Fix use-after-free in i40e_client_subtask() i40e: fix the restart auto-negotiation after FEC modified i40e: Fix PHY type identifiers for 2.5G and 5G adapters mptcp: fix splat when closing unaccepted socket f2fs: avoid unneeded data copy in f2fs_ioc_move_range() ARC: entry: fix off-by-one error in syscall number validation ARC: mm: PAE: use 40-bit physical page mask ARC: mm: Use max_high_pfn as a HIGHMEM zone border powerpc/64s: Fix crashes when toggling stf barrier powerpc/64s: Fix crashes when toggling entry flush barrier hfsplus: prevent corruption in shrinking truncate squashfs: fix divide error in calculate_skip() userfaultfd: release page in error path to avoid BUG_ON kasan: fix unit tests with CONFIG_UBSAN_LOCAL_BOUNDS enabled mm/hugetlb: fix F_SEAL_FUTURE_WRITE blk-iocost: fix weight updates of inner active iocgs arm64: mte: initialize RGSR_EL1.SEED in __cpu_setup arm64: Fix race condition on PG_dcache_clean in __sync_icache_dcache() btrfs: fix race leading to unpersisted data and metadata on fsync drm/radeon/dpm: Disable sclk switching on Oland when two 4K 60Hz monitors are connected drm/amd/display: Initialize attribute for hdcp_srm sysfs file drm/i915: Avoid div-by-zero on gen2 kvm: exit halt polling on need_resched() as well KVM: LAPIC: Accurately guarantee busy wait for timer to expire when using hv_timer drm/msm/dp: initialize audio_comp when audio starts KVM: x86: Cancel pvclock_gtod_work on module removal KVM: x86: Prevent deadlock against tk_core.seq dax: Add an enum for specifying dax wakup mode dax: Add a wakeup mode parameter to put_unlocked_entry() dax: Wake up all waiters after invalidating dax entry xen/unpopulated-alloc: consolidate pgmap manipulation xen/unpopulated-alloc: fix error return code in fill_list() perf tools: Fix dynamic libbpf link usb: dwc3: gadget: Free gadget structure only after freeing endpoints iio: light: gp2ap002: Fix rumtime PM imbalance on error iio: proximity: pulsedlight: Fix rumtime PM imbalance on error iio: hid-sensors: select IIO_TRIGGERED_BUFFER under HID_SENSOR_IIO_TRIGGER usb: fotg210-hcd: Fix an error message hwmon: (occ) Fix poll rate limiting usb: musb: Fix an error message ACPI: scan: Fix a memory leak in an error handling path kyber: fix out of bounds access when preempted nvmet: add lba to sect conversion helpers nvmet: fix inline bio check for bdev-ns nvmet-rdma: Fix NULL deref when SEND is completed with error f2fs: compress: fix to free compress page correctly f2fs: compress: fix race condition of overwrite vs truncate f2fs: compress: fix to assign cc.cluster_idx correctly nbd: Fix NULL pointer in flush_workqueue blk-mq: plug request for shared sbitmap blk-mq: Swap two calls in blk_mq_exit_queue() usb: dwc3: omap: improve extcon initialization usb: dwc3: pci: Enable usb2-gadget-lpm-disable for Intel Merrifield usb: xhci: Increase timeout for HC halt usb: dwc2: Fix gadget DMA unmap direction usb: core: hub: fix race condition about TRSMRCY of resume usb: dwc3: gadget: Enable suspend events usb: dwc3: gadget: Return success always for kick transfer in ep queue usb: typec: ucsi: Retrieve all the PDOs instead of just the first 4 usb: typec: ucsi: Put fwnode in any case during ->probe() xhci-pci: Allow host runtime PM as default for Intel Alder Lake xHCI xhci: Do not use GFP_KERNEL in (potentially) atomic context xhci: Add reset resume quirk for AMD xhci controller. iio: gyro: mpu3050: Fix reported temperature value iio: tsl2583: Fix division by a zero lux_val cdc-wdm: untangle a circular dependency between callback and softint xen/gntdev: fix gntdev_mmap() error exit path KVM: x86: Emulate RDPID only if RDTSCP is supported KVM: x86: Move RDPID emulation intercept to its own enum KVM: nVMX: Always make an attempt to map eVMCS after migration KVM: VMX: Do not advertise RDPID if ENABLE_RDTSCP control is unsupported KVM: VMX: Disable preemption when probing user return MSRs Revert "iommu/vt-d: Remove WO permissions on second-level paging entries" Revert "iommu/vt-d: Preset Access/Dirty bits for IOVA over FL" iommu/vt-d: Preset Access/Dirty bits for IOVA over FL iommu/vt-d: Remove WO permissions on second-level paging entries mm: fix struct page layout on 32-bit systems MIPS: Reinstate platform `__div64_32' handler MIPS: Avoid DIVU in `__div64_32' is result would be zero MIPS: Avoid handcoded DIVU in `__div64_32' altogether clocksource/drivers/timer-ti-dm: Prepare to handle dra7 timer wrap issue clocksource/drivers/timer-ti-dm: Handle dra7 timer wrap errata i940 ARM: 9011/1: centralize phys-to-virt conversion of DT/ATAGS address ARM: 9012/1: move device tree mapping out of linear region ARM: 9020/1: mm: use correct section size macro to describe the FDT virtual address ARM: 9027/1: head.S: explicitly map DT even if it lives in the first physical section usb: typec: tcpm: Fix error while calculating PPS out values kobject_uevent: remove warning in init_uevent_argv() drm/i915/gt: Fix a double free in gen8_preallocate_top_level_pdp drm/i915: Read C0DRB3/C1DRB3 as 16 bits again drm/i915/overlay: Fix active retire callback alignment drm/i915: Fix crash in auto_retire clk: exynos7: Mark aclk_fsys1_200 as critical media: rkvdec: Remove of_match_ptr() i2c: mediatek: Fix send master code at more than 1MHz dt-bindings: media: renesas,vin: Make resets optional on R-Car Gen1 dt-bindings: serial: 8250: Remove duplicated compatible strings debugfs: Make debugfs_allow RO after init ext4: fix debug format string warning nvme: do not try to reconfigure APST when the controller is not live ASoC: rsnd: check all BUSIF status when error Linux 5.10.38 Signed-off-by: Greg Kroah-Hartman <gregkh@google.com> Change-Id: Ia32e01283b488a38be48015c58a0e481f09aaf65 |
||
Greg Kroah-Hartman
|
20530f7fde |
kobject_uevent: remove warning in init_uevent_argv()
commit b4104180a2efb85f55e1ba1407885c9421970338 upstream. syzbot can trigger the WARN() in init_uevent_argv() which isn't the nicest as the code does properly recover and handle the error. So change the WARN() call to pr_warn() and provide some more information on what the buffer size that was needed. Link: https://lore.kernel.org/r/20201107082206.GA19079@kroah.com Cc: "Rafael J. Wysocki" <rafael@kernel.org> Cc: linux-kernel@vger.kernel.org Reported-by: syzbot+92340f7b2b4789907fdb@syzkaller.appspotmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Link: https://lore.kernel.org/r/20210405094852.1348499-1-gregkh@linuxfoundation.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
||
Peter Collingbourne
|
fe5c0a63ad |
kasan: fix unit tests with CONFIG_UBSAN_LOCAL_BOUNDS enabled
commit f649dc0e0d7b509c75570ee403723660f5b72ec7 upstream. These tests deliberately access these arrays out of bounds, which will cause the dynamic local bounds checks inserted by CONFIG_UBSAN_LOCAL_BOUNDS to fail and panic the kernel. To avoid this problem, access the arrays via volatile pointers, which will prevent the compiler from being able to determine the array bounds. These accesses use volatile pointers to char (char *volatile) rather than the more conventional pointers to volatile char (volatile char *) because we want to prevent the compiler from making inferences about the pointer itself (i.e. its array bounds), not the data that it refers to. Link: https://lkml.kernel.org/r/20210507025915.1464056-1-pcc@google.com Link: https://linux-review.googlesource.com/id/I90b1713fbfa1bf68ff895aef099ea77b98a7c3b9 Signed-off-by: Peter Collingbourne <pcc@google.com> Tested-by: Alexander Potapenko <glider@google.com> Reviewed-by: Andrey Konovalov <andreyknvl@gmail.com> Cc: Peter Collingbourne <pcc@google.com> Cc: George Popescu <georgepope@android.com> Cc: Elena Petrova <lenaptr@google.com> Cc: Evgenii Stepanov <eugenis@google.com> Cc: <stable@vger.kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
||
Maciej Żenczykowski
|
d6c635a8cc |
net: fix nla_strcmp to handle more then one trailing null character
[ Upstream commit 2c16db6c92b0ee4aa61e88366df82169e83c3f7e ]
Android userspace has been using TCA_KIND with a char[IFNAMESIZ]
many-null-terminated buffer containing the string 'bpf'.
This works on 4.19 and ceases to work on 5.10.
I'm not entirely sure what fixes tag to use, but I think the issue
was likely introduced in the below mentioned 5.4 commit.
Reported-by: Nucca Chen <nuccachen@google.com>
Cc: Cong Wang <xiyou.wangcong@gmail.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: David S. Miller <davem@davemloft.net>
Cc: Jakub Kicinski <jakub.kicinski@netronome.com>
Cc: Jamal Hadi Salim <jhs@mojatatu.com>
Cc: Jiri Pirko <jiri@mellanox.com>
Cc: Jiri Pirko <jiri@resnulli.us>
Fixes:
|
||
Greg Kroah-Hartman
|
e054456ced |
Merge 5.10.37 into android12-5.10
Changes in 5.10.37
Bluetooth: verify AMP hci_chan before amp_destroy
bluetooth: eliminate the potential race condition when removing the HCI controller
net/nfc: fix use-after-free llcp_sock_bind/connect
io_uring: truncate lengths larger than MAX_RW_COUNT on provide buffers
Revert "USB: cdc-acm: fix rounding error in TIOCSSERIAL"
usb: roles: Call try_module_get() from usb_role_switch_find_by_fwnode()
tty: moxa: fix TIOCSSERIAL jiffies conversions
tty: amiserial: fix TIOCSSERIAL permission check
USB: serial: usb_wwan: fix TIOCSSERIAL jiffies conversions
staging: greybus: uart: fix TIOCSSERIAL jiffies conversions
USB: serial: ti_usb_3410_5052: fix TIOCSSERIAL permission check
staging: fwserial: fix TIOCSSERIAL jiffies conversions
tty: moxa: fix TIOCSSERIAL permission check
staging: fwserial: fix TIOCSSERIAL permission check
drm: bridge: fix LONTIUM use of mipi_dsi_() functions
usb: typec: tcpm: Address incorrect values of tcpm psy for fixed supply
usb: typec: tcpm: Address incorrect values of tcpm psy for pps supply
usb: typec: tcpm: update power supply once partner accepts
usb: xhci-mtk: remove or operator for setting schedule parameters
usb: xhci-mtk: improve bandwidth scheduling with TT
ASoC: samsung: tm2_wm5110: check of of_parse return value
ASoC: Intel: kbl_da7219_max98927: Fix kabylake_ssp_fixup function
ASoC: tlv320aic32x4: Register clocks before registering component
ASoC: tlv320aic32x4: Increase maximum register in regmap
MIPS: pci-mt7620: fix PLL lock check
MIPS: pci-rt2880: fix slot 0 configuration
FDDI: defxx: Bail out gracefully with unassigned PCI resource for CSR
PCI: Allow VPD access for QLogic ISP2722
KVM: x86: Defer the MMU unload to the normal path on an global INVPCID
PCI: xgene: Fix cfg resource mapping
PCI: keystone: Let AM65 use the pci_ops defined in pcie-designware-host.c
PM / devfreq: Unlock mutex and free devfreq struct in error path
soc/tegra: regulators: Fix locking up when voltage-spread is out of range
iio: inv_mpu6050: Fully validate gyro and accel scale writes
iio:accel:adis16201: Fix wrong axis assignment that prevents loading
iio:adc:ad7476: Fix remove handling
sc16is7xx: Defer probe if device read fails
phy: cadence: Sierra: Fix PHY power_on sequence
misc: lis3lv02d: Fix false-positive WARN on various HP models
phy: ti: j721e-wiz: Invoke wiz_init() before of_platform_device_create()
misc: vmw_vmci: explicitly initialize vmci_notify_bm_set_msg struct
misc: vmw_vmci: explicitly initialize vmci_datagram payload
selinux: add proper NULL termination to the secclass_map permissions
x86, sched: Treat Intel SNC topology as default, COD as exception
async_xor: increase src_offs when dropping destination page
md/bitmap: wait for external bitmap writes to complete during tear down
md-cluster: fix use-after-free issue when removing rdev
md: split mddev_find
md: factor out a mddev_find_locked helper from mddev_find
md: md_open returns -EBUSY when entering racing area
md: Fix missing unused status line of /proc/mdstat
mt76: mt7615: use ieee80211_free_txskb() in mt7615_tx_token_put()
ipw2x00: potential buffer overflow in libipw_wx_set_encodeext()
cfg80211: scan: drop entry from hidden_list on overflow
rtw88: Fix array overrun in rtw_get_tx_power_params()
mt76: fix potential DMA mapping leak
FDDI: defxx: Make MMIO the configuration default except for EISA
drm/i915/gvt: Fix virtual display setup for BXT/APL
drm/i915/gvt: Fix vfio_edid issue for BXT/APL
drm/qxl: use ttm bo priorities
drm/panfrost: Clear MMU irqs before handling the fault
drm/panfrost: Don't try to map pages that are already mapped
drm/radeon: fix copy of uninitialized variable back to userspace
drm/dp_mst: Revise broadcast msg lct & lcr
drm/dp_mst: Set CLEAR_PAYLOAD_ID_TABLE as broadcast
drm: bridge/panel: Cleanup connector on bridge detach
drm/amd/display: Reject non-zero src_y and src_x for video planes
drm/amdgpu: fix concurrent VM flushes on Vega/Navi v2
ALSA: hda/realtek: Re-order ALC882 Acer quirk table entries
ALSA: hda/realtek: Re-order ALC882 Sony quirk table entries
ALSA: hda/realtek: Re-order ALC882 Clevo quirk table entries
ALSA: hda/realtek: Re-order ALC269 HP quirk table entries
ALSA: hda/realtek: Re-order ALC269 Acer quirk table entries
ALSA: hda/realtek: Re-order ALC269 Dell quirk table entries
ALSA: hda/realtek: Re-order ALC269 ASUS quirk table entries
ALSA: hda/realtek: Re-order ALC269 Sony quirk table entries
ALSA: hda/realtek: Re-order ALC269 Lenovo quirk table entries
ALSA: hda/realtek: Re-order remaining ALC269 quirk table entries
ALSA: hda/realtek: Re-order ALC662 quirk table entries
ALSA: hda/realtek: Remove redundant entry for ALC861 Haier/Uniwill devices
ALSA: hda/realtek: ALC285 Thinkpad jack pin quirk is unreachable
ALSA: hda/realtek: Fix speaker amp on HP Envy AiO 32
KVM: s390: VSIE: correctly handle MVPG when in VSIE
KVM: s390: split kvm_s390_logical_to_effective
KVM: s390: fix guarded storage control register handling
s390: fix detection of vector enhancements facility 1 vs. vector packed decimal facility
KVM: s390: VSIE: fix MVPG handling for prefixing and MSO
KVM: s390: split kvm_s390_real_to_abs
KVM: s390: extend kvm_s390_shadow_fault to return entry pointer
KVM: x86/mmu: Alloc page for PDPTEs when shadowing 32-bit NPT with 64-bit
KVM: x86: Remove emulator's broken checks on CR0/CR3/CR4 loads
KVM: nSVM: Set the shadow root level to the TDP level for nested NPT
KVM: SVM: Don't strip the C-bit from CR2 on #PF interception
KVM: SVM: Do not allow SEV/SEV-ES initialization after vCPUs are created
KVM: SVM: Inject #GP on guest MSR_TSC_AUX accesses if RDTSCP unsupported
KVM: nVMX: Defer the MMU reload to the normal path on an EPTP switch
KVM: nVMX: Truncate bits 63:32 of VMCS field on nested check in !64-bit
KVM: nVMX: Truncate base/index GPR value on address calc in !64-bit
KVM: arm/arm64: Fix KVM_VGIC_V3_ADDR_TYPE_REDIST read
KVM: Destroy I/O bus devices on unregister failure _after_ sync'ing SRCU
KVM: Stop looking for coalesced MMIO zones if the bus is destroyed
KVM: arm64: Fully zero the vcpu state on reset
KVM: arm64: Fix KVM_VGIC_V3_ADDR_TYPE_REDIST_REGION read
Revert "drivers/net/wan/hdlc_fr: Fix a double free in pvc_xmit"
Revert "i3c master: fix missing destroy_workqueue() on error in i3c_master_register"
ovl: fix missing revert_creds() on error path
Revert "drm/qxl: do not run release if qxl failed to init"
usb: gadget: pch_udc: Revert
|
||
Andrew Scull
|
556e75a0ae |
bug: Remove redundant condition check in report_bug
[ Upstream commit 3ad1a6cb0abc63d036fc866bd7c2c5983516dec5 ]
report_bug() will return early if it cannot find a bug corresponding to
the provided address. The subsequent test for the bug will always be
true so remove it.
Fixes:
|
||
Arnd Bergmann
|
bbd61fa05c |
crypto: poly1305 - fix poly1305_core_setkey() declaration
[ Upstream commit 8d195e7a8ada68928f2aedb2c18302a4518fe68e ]
gcc-11 points out a mismatch between the declaration and the definition
of poly1305_core_setkey():
lib/crypto/poly1305-donna32.c:13:67: error: argument 2 of type ‘const u8[16]’ {aka ‘const unsigned char[16]’} with mismatched bound [-Werror=array-parameter=]
13 | void poly1305_core_setkey(struct poly1305_core_key *key, const u8 raw_key[16])
| ~~~~~~~~~^~~~~~~~~~~
In file included from lib/crypto/poly1305-donna32.c:11:
include/crypto/internal/poly1305.h:21:68: note: previously declared as ‘const u8 *’ {aka ‘const unsigned char *’}
21 | void poly1305_core_setkey(struct poly1305_core_key *key, const u8 *raw_key);
This is harmless in principle, as the calling conventions are the same,
but the more specific prototype allows better type checking in the
caller.
Change the declaration to match the actual function definition.
The poly1305_simd_init() is a bit suspicious here, as it previously
had a 32-byte argument type, but looks like it needs to take the
16-byte POLY1305_BLOCK_SIZE array instead.
Fixes:
|
||
Greg Kroah-Hartman
|
a1ac3f3093 |
Merge 5.10.36 into android12-5.10
Changes in 5.10.36
bus: mhi: core: Fix check for syserr at power_up
bus: mhi: core: Clear configuration from channel context during reset
bus: mhi: core: Sanity check values from remote device before use
nitro_enclaves: Fix stale file descriptors on failed usercopy
dyndbg: fix parsing file query without a line-range suffix
s390/disassembler: increase ebpf disasm buffer size
s390/zcrypt: fix zcard and zqueue hot-unplug memleak
vhost-vdpa: fix vm_flags for virtqueue doorbell mapping
tpm: acpi: Check eventlog signature before using it
ACPI: custom_method: fix potential use-after-free issue
ACPI: custom_method: fix a possible memory leak
ftrace: Handle commands when closing set_ftrace_filter file
ARM: 9056/1: decompressor: fix BSS size calculation for LLVM ld.lld
arm64: dts: marvell: armada-37xx: add syscon compatible to NB clk node
arm64: dts: mt8173: fix property typo of 'phys' in dsi node
ecryptfs: fix kernel panic with null dev_name
fs/epoll: restore waking from ep_done_scan()
mtd: spi-nor: core: Fix an issue of releasing resources during read/write
Revert "mtd: spi-nor: macronix: Add support for mx25l51245g"
mtd: spinand: core: add missing MODULE_DEVICE_TABLE()
mtd: rawnand: atmel: Update ecc_stats.corrected counter
mtd: physmap: physmap-bt1-rom: Fix unintentional stack access
erofs: add unsupported inode i_format check
spi: stm32-qspi: fix pm_runtime usage_count counter
spi: spi-ti-qspi: Free DMA resources
scsi: qla2xxx: Fix crash in qla2xxx_mqueuecommand()
scsi: mpt3sas: Block PCI config access from userspace during reset
mmc: uniphier-sd: Fix an error handling path in uniphier_sd_probe()
mmc: uniphier-sd: Fix a resource leak in the remove function
mmc: sdhci: Check for reset prior to DMA address unmap
mmc: sdhci-pci: Fix initialization of some SD cards for Intel BYT-based controllers
mmc: sdhci-tegra: Add required callbacks to set/clear CQE_EN bit
mmc: block: Update ext_csd.cache_ctrl if it was written
mmc: block: Issue a cache flush only when it's enabled
mmc: core: Do a power cycle when the CMD11 fails
mmc: core: Set read only for SD cards with permanent write protect bit
mmc: core: Fix hanging on I/O during system suspend for removable cards
irqchip/gic-v3: Do not enable irqs when handling spurious interrups
cifs: Return correct error code from smb2_get_enc_key
cifs: fix out-of-bound memory access when calling smb3_notify() at mount point
cifs: detect dead connections only when echoes are enabled.
smb2: fix use-after-free in smb2_ioctl_query_info()
btrfs: handle remount to no compress during compression
x86/build: Disable HIGHMEM64G selection for M486SX
btrfs: fix metadata extent leak after failure to create subvolume
intel_th: pci: Add Rocket Lake CPU support
btrfs: fix race between transaction aborts and fsyncs leading to use-after-free
posix-timers: Preserve return value in clock_adjtime32()
fbdev: zero-fill colormap in fbcmap.c
cpuidle: tegra: Fix C7 idling state on Tegra114
bus: ti-sysc: Probe for l4_wkup and l4_cfg interconnect devices first
staging: wimax/i2400m: fix byte-order issue
spi: ath79: always call chipselect function
spi: ath79: remove spi-master setup and cleanup assignment
bus: mhi: core: Destroy SBL devices when moving to mission mode
crypto: api - check for ERR pointers in crypto_destroy_tfm()
crypto: qat - fix unmap invalid dma address
usb: gadget: uvc: add bInterval checking for HS mode
usb: webcam: Invalid size of Processing Unit Descriptor
x86/sev: Do not require Hypervisor CPUID bit for SEV guests
crypto: hisilicon/sec - fixes a printing error
genirq/matrix: Prevent allocation counter corruption
usb: gadget: f_uac2: validate input parameters
usb: gadget: f_uac1: validate input parameters
usb: dwc3: gadget: Ignore EP queue requests during bus reset
usb: xhci: Fix port minor revision
kselftest/arm64: mte: Fix compilation with native compiler
ARM: tegra: acer-a500: Rename avdd to vdda of touchscreen node
PCI: PM: Do not read power state in pci_enable_device_flags()
kselftest/arm64: mte: Fix MTE feature detection
ARM: dts: BCM5301X: fix "reg" formatting in /memory node
ARM: dts: ux500: Fix up TVK R3 sensors
x86/build: Propagate $(CLANG_FLAGS) to $(REALMODE_FLAGS)
x86/boot: Add $(CLANG_FLAGS) to compressed KBUILD_CFLAGS
efi/libstub: Add $(CLANG_FLAGS) to x86 flags
soc/tegra: pmc: Fix completion of power-gate toggling
arm64: dts: imx8mq-librem5-r3: Mark buck3 as always on
tee: optee: do not check memref size on return from Secure World
soundwire: cadence: only prepare attached devices on clock stop
perf/arm_pmu_platform: Use dev_err_probe() for IRQ errors
perf/arm_pmu_platform: Fix error handling
random: initialize ChaCha20 constants with correct endianness
usb: xhci-mtk: support quirk to disable usb2 lpm
fpga: dfl: pci: add DID for D5005 PAC cards
xhci: check port array allocation was successful before dereferencing it
xhci: check control context is valid before dereferencing it.
xhci: fix potential array out of bounds with several interrupters
bus: mhi: core: Clear context for stopped channels from remove()
ARM: dts: at91: change the key code of the gpio key
tools/power/x86/intel-speed-select: Increase string size
platform/x86: ISST: Account for increased timeout in some cases
spi: dln2: Fix reference leak to master
spi: omap-100k: Fix reference leak to master
spi: qup: fix PM reference leak in spi_qup_remove()
usb: gadget: tegra-xudc: Fix possible use-after-free in tegra_xudc_remove()
usb: musb: fix PM reference leak in musb_irq_work()
usb: core: hub: Fix PM reference leak in usb_port_resume()
usb: dwc3: gadget: Check for disabled LPM quirk
tty: n_gsm: check error while registering tty devices
intel_th: Consistency and off-by-one fix
phy: phy-twl4030-usb: Fix possible use-after-free in twl4030_usb_remove()
crypto: sun8i-ss - Fix PM reference leak when pm_runtime_get_sync() fails
crypto: sun8i-ce - Fix PM reference leak in sun8i_ce_probe()
crypto: stm32/hash - Fix PM reference leak on stm32-hash.c
crypto: stm32/cryp - Fix PM reference leak on stm32-cryp.c
crypto: sa2ul - Fix PM reference leak in sa_ul_probe()
crypto: omap-aes - Fix PM reference leak on omap-aes.c
platform/x86: intel_pmc_core: Don't use global pmcdev in quirks
spi: sync up initial chipselect state
btrfs: do proper error handling in create_reloc_root
btrfs: do proper error handling in btrfs_update_reloc_root
btrfs: convert logic BUG_ON()'s in replace_path to ASSERT()'s
drm: Added orientation quirk for OneGX1 Pro
drm/qxl: do not run release if qxl failed to init
drm/qxl: release shadow on shutdown
drm/ast: Fix invalid usage of AST_MAX_HWC_WIDTH in cursor atomic_check
drm/amd/display: changing sr exit latency
drm/ast: fix memory leak when unload the driver
drm/amd/display: Check for DSC support instead of ASIC revision
drm/amd/display: Don't optimize bandwidth before disabling planes
drm/amdgpu/display: buffer INTERRUPT_LOW_IRQ_CONTEXT interrupt work
drm/amd/display/dc/dce/dce_aux: Remove duplicate line causing 'field overwritten' issue
scsi: lpfc: Fix incorrect dbde assignment when building target abts wqe
scsi: lpfc: Fix pt2pt connection does not recover after LOGO
drm/amdgpu: Fix some unload driver issues
sched/pelt: Fix task util_est update filtering
kvfree_rcu: Use same set of GFP flags as does single-argument
scsi: target: pscsi: Fix warning in pscsi_complete_cmd()
media: ite-cir: check for receive overflow
media: drivers: media: pci: sta2x11: fix Kconfig dependency on GPIOLIB
media: imx: capture: Return -EPIPE from __capture_legacy_try_fmt()
atomisp: don't let it go past pipes array
power: supply: bq27xxx: fix power_avg for newer ICs
extcon: arizona: Fix some issues when HPDET IRQ fires after the jack has been unplugged
extcon: arizona: Fix various races on driver unbind
media: media/saa7164: fix saa7164_encoder_register() memory leak bugs
media: gspca/sq905.c: fix uninitialized variable
power: supply: Use IRQF_ONESHOT
backlight: qcom-wled: Use sink_addr for sync toggle
backlight: qcom-wled: Fix FSC update issue for WLED5
drm/amdgpu: mask the xgmi number of hops reported from psp to kfd
drm/amdkfd: Fix UBSAN shift-out-of-bounds warning
drm/amdgpu : Fix asic reset regression issue introduce by 8f211fe8ac7c4f
drm/amd/pm: fix workload mismatch on vega10
drm/amd/display: Fix UBSAN warning for not a valid value for type '_Bool'
drm/amd/display: DCHUB underflow counter increasing in some scenarios
drm/amd/display: fix dml prefetch validation
scsi: qla2xxx: Always check the return value of qla24xx_get_isp_stats()
drm/vkms: fix misuse of WARN_ON
scsi: qla2xxx: Fix use after free in bsg
mmc: sdhci-esdhc-imx: validate pinctrl before use it
mmc: sdhci-pci: Add PCI IDs for Intel LKF
mmc: sdhci-brcmstb: Remove CQE quirk
ata: ahci: Disable SXS for Hisilicon Kunpeng920
drm/komeda: Fix bit check to import to value of proper type
nvmet: return proper error code from discovery ctrl
selftests/resctrl: Enable gcc checks to detect buffer overflows
selftests/resctrl: Fix compilation issues for global variables
selftests/resctrl: Fix compilation issues for other global variables
selftests/resctrl: Clean up resctrl features check
selftests/resctrl: Fix missing options "-n" and "-p"
selftests/resctrl: Use resctrl/info for feature detection
selftests/resctrl: Fix incorrect parsing of iMC counters
selftests/resctrl: Fix checking for < 0 for unsigned values
power: supply: cpcap-charger: Add usleep to cpcap charger to avoid usb plug bounce
scsi: smartpqi: Use host-wide tag space
scsi: smartpqi: Correct request leakage during reset operations
scsi: smartpqi: Add new PCI IDs
scsi: scsi_dh_alua: Remove check for ASC 24h in alua_rtpg()
media: em28xx: fix memory leak
media: vivid: update EDID
drm/msm/dp: Fix incorrect NULL check kbot warnings in DP driver
clk: socfpga: arria10: Fix memory leak of socfpga_clk on error return
power: supply: generic-adc-battery: fix possible use-after-free in gab_remove()
power: supply: s3c_adc_battery: fix possible use-after-free in s3c_adc_bat_remove()
media: tc358743: fix possible use-after-free in tc358743_remove()
media: adv7604: fix possible use-after-free in adv76xx_remove()
media: i2c: adv7511-v4l2: fix possible use-after-free in adv7511_remove()
media: i2c: tda1997: Fix possible use-after-free in tda1997x_remove()
media: i2c: adv7842: fix possible use-after-free in adv7842_remove()
media: platform: sti: Fix runtime PM imbalance in regs_show
media: sun8i-di: Fix runtime PM imbalance in deinterlace_start_streaming
media: dvb-usb: fix memory leak in dvb_usb_adapter_init
media: gscpa/stv06xx: fix memory leak
sched/fair: Ignore percpu threads for imbalance pulls
drm/msm/mdp5: Configure PP_SYNC_HEIGHT to double the vtotal
drm/msm/mdp5: Do not multiply vclk line count by 100
drm/amdgpu/ttm: Fix memory leak userptr pages
drm/radeon/ttm: Fix memory leak userptr pages
drm/amd/display: Fix debugfs link_settings entry
drm/amd/display: Fix UBSAN: shift-out-of-bounds warning
drm/amdkfd: Fix cat debugfs hang_hws file causes system crash bug
amdgpu: avoid incorrect %hu format string
drm/amd/display: Try YCbCr420 color when YCbCr444 fails
drm/amdgpu: fix NULL pointer dereference
scsi: lpfc: Fix crash when a REG_RPI mailbox fails triggering a LOGO response
scsi: lpfc: Fix error handling for mailboxes completed in MBX_POLL mode
scsi: lpfc: Remove unsupported mbox PORT_CAPABILITIES logic
mfd: intel-m10-bmc: Fix the register access range
mfd: da9063: Support SMBus and I2C mode
mfd: arizona: Fix rumtime PM imbalance on error
scsi: libfc: Fix a format specifier
perf: Rework perf_event_exit_event()
sched,fair: Alternative sched_slice()
block/rnbd-clt: Fix missing a memory free when unloading the module
s390/archrandom: add parameter check for s390_arch_random_generate
sched,psi: Handle potential task count underflow bugs more gracefully
power: supply: cpcap-battery: fix invalid usage of list cursor
ALSA: emu8000: Fix a use after free in snd_emu8000_create_mixer
ALSA: hda/conexant: Re-order CX5066 quirk table entries
ALSA: sb: Fix two use after free in snd_sb_qsound_build
ALSA: usb-audio: Explicitly set up the clock selector
ALSA: usb-audio: Add dB range mapping for Sennheiser Communications Headset PC 8
ALSA: hda/realtek: fix mute/micmute LEDs for HP ProBook 445 G7
ALSA: hda/realtek: GA503 use same quirks as GA401
ALSA: hda/realtek: fix mic boost on Intel NUC 8
ALSA: hda/realtek - Headset Mic issue on HP platform
ALSA: hda/realtek: fix static noise on ALC285 Lenovo laptops
ALSA: hda/realtek: Add quirk for Intel Clevo PCx0Dx
tools/power/turbostat: Fix turbostat for AMD Zen CPUs
btrfs: fix race when picking most recent mod log operation for an old root
arm64/vdso: Discard .note.gnu.property sections in vDSO
Makefile: Move -Wno-unused-but-set-variable out of GCC only block
fs: fix reporting supported extra file attributes for statx()
virtiofs: fix memory leak in virtio_fs_probe()
kcsan, debugfs: Move debugfs file creation out of early init
ubifs: Only check replay with inode type to judge if inode linked
f2fs: fix error handling in f2fs_end_enable_verity()
f2fs: fix to avoid out-of-bounds memory access
mlxsw: spectrum_mr: Update egress RIF list before route's action
openvswitch: fix stack OOB read while fragmenting IPv4 packets
ACPI: GTDT: Don't corrupt interrupt mappings on watchdow probe failure
NFS: fs_context: validate UDP retrans to prevent shift out-of-bounds
NFS: Don't discard pNFS layout segments that are marked for return
NFSv4: Don't discard segments marked for return in _pnfs_return_layout()
Input: ili210x - add missing negation for touch indication on ili210x
jffs2: Fix kasan slab-out-of-bounds problem
jffs2: Hook up splice_write callback
powerpc/powernv: Enable HAIL (HV AIL) for ISA v3.1 processors
powerpc/eeh: Fix EEH handling for hugepages in ioremap space.
powerpc/kexec_file: Use current CPU info while setting up FDT
powerpc/32: Fix boot failure with CONFIG_STACKPROTECTOR
powerpc: fix EDEADLOCK redefinition error in uapi/asm/errno.h
intel_th: pci: Add Alder Lake-M support
tpm: efi: Use local variable for calculating final log size
tpm: vtpm_proxy: Avoid reading host log when using a virtual device
crypto: arm/curve25519 - Move '.fpu' after '.arch'
crypto: rng - fix crypto_rng_reset() refcounting when !CRYPTO_STATS
md/raid1: properly indicate failure when ending a failed write request
dm raid: fix inconclusive reshape layout on fast raid4/5/6 table reload sequences
fuse: fix write deadlock
exfat: fix erroneous discard when clear cluster bit
sfc: farch: fix TX queue lookup in TX flush done handling
sfc: farch: fix TX queue lookup in TX event handling
security: commoncap: fix -Wstringop-overread warning
Fix misc new gcc warnings
jffs2: check the validity of dstlen in jffs2_zlib_compress()
smb3: when mounting with multichannel include it in requested capabilities
smb3: do not attempt multichannel to server which does not support it
Revert
|
||
Rasmus Villemoes
|
051dd0681c |
lib/vsprintf.c: remove leftover 'f' and 'F' cases from bstr_printf()
commit 84696cfaf4d90945eb2a8302edc6cf627db56b84 upstream. Commit |
||
Shuo Chen
|
90402b6b45 |
dyndbg: fix parsing file query without a line-range suffix
commit 7b1ae248279bea33af9e797a93c35f49601cb8a0 upstream. Query like 'file tcp_input.c line 1234 +p' was broken by commit |
||
Elliot Berman
|
f65de4b530 |
soc: qcom: Kconfig: Move DEBUG_SPINLOCK_*_ON_BUG to qcom Kconfig
- Move DEBUG_SPINLOCK_*_ON_BUG to qcom Kconfig - Fix symbol dependency for DEBUG_SPINLOCK_BITE_ON_BUG: s/QCOM_WATCHDOG_V2/QCOM_WDT_CORE/ Change-Id: I3eca80d00ab9e732e92d24e60244aa4783ce0efc Signed-off-by: Elliot Berman <eberman@codeaurora.org> |
||
Ivaylo Georgiev
|
13d1442047 |
Merge keystone/android12-5.10-keystone-qcom-release.34+ (5de3fa7 ) into msm-5.10
* refs/heads/tmp-5de3fa7: ANDROID: irq: manage: Export irq_do_set_affinity symbol FROMLIST: usb: typec: tcpm: Fix wrong handling in GET_SINK_CAP ANDROID: GKI: Enable CONFIG_USB_CONFIGFS_F_UAC2 ANDROID: qki: Add consolidate config ANDROID: Update the ABI xml and symbol list UPSTREAM: remoteproc: core: Remove casting to rproc_handle_resource_t ANDROID: GKI: enable CONFIG_MTK_TIMER ANDROID: sched: Add vendor hooks for update_topology ANDROID: GKI: Enable CONFIG_EXFAT_FS in gki_defconfig ANDROID: cgroup: Add android_rvh_cgroup_force_kthread_migration ANDROID: Update the ABI xml and symbol list FROMLIST: sched: Fix out-of-bound access in uclamp ANDROID: mm: spf: fix task fault accounting ANDROID: Update the ABI xml and symbol list Revert "ANDROID: gki_defconfig: temporarily disable KFENCE in GKI" Linux 5.10.34 mei: me: add Alder Lake P device id. iwlwifi: Fix softirq/hardirq disabling in iwl_pcie_gen2_enqueue_hcmd() ANDROID: Update the ABI xml and symbol list FROMGIT: mmc: sdhci: Check for reset prior to DMA address unmap ANDROID: ABI: Add symbols for CONFIG_PAGE_PINNER ANDROID: GKI: Enable CONFIG_PAGE_PINNER ANDROID: mm: page_pinner: use put_user_page at unstable_tree_search_insert ANDROID: mm: page_pinner: unattribute follow_page in munlock_vma_pages_range ANDROID: mm: page_pinner: use put_user_page at add_page_for_migration ANDROID: mm: page_pinner: use put_user_page at dump_user_range ANDROID: mm: page_pinner: use put_user_page at seq_print_vma_name ANDROID: mm: page_pinner: use put_user_page at fuse_copy_finish ANDROID: mm: page_pinner: use put_user_page at get_futex_key ANDROID: mm: page_pinner: use put_user_page at copy_string ANDROID: mm: page_pinner: use put_user_page at access_remote_vm ANDROID: mm: page_pinner: introduce failure_tracking feature ANDROID: mm: introduce page_pinner ANDROID: vendor_hooks: Fix psi_event build warning ANDROID: vendor_hooks: Add hooks for binder proc transaction ANDROID: vendor_hooks: tune reclaim inactive ratio ANDROID: dma-buf: Make DMA-BUF sysfs stats kobjects not send uevents ANDROID: vendor_hooks: bypass shrink slab FROMGIT: kbuild: update config_data.gz only when the content of .config is changed ANDROID: arm64: Initialise mismatched compat hwcaps from CPU notifier UPSTREAM: ARM: 9039/1: assembler: generalize byte swapping macro into rev_l UPSTREAM: ARM: 9035/1: uncompress: Add be32tocpu macro FROMGIT: kfence: use power-efficient work queue to run delayed work FROMGIT: kfence: maximize allocation wait timeout duration FROMGIT: kfence: await for allocation using wait_event FROMGIT: kfence: zero guard page after out-of-bounds access UPSTREAM: kfence: make compatible with kmemleak UPSTREAM: kfence: fix reports if constant function prefixes exist UPSTREAM: kfence: fix printk format for ptrdiff_t ANDROID: Support disabling symbol trimming ANDROID: Incremental fs: Fix pseudo-file attributes ANDROID: sched: Fix missing RQCF_UPDATED in migrate_tasks FROMLIST: mm, thp: Relax the VM_DENYWRITE constraint on file-backed THPs Linux 5.10.33 USB: CDC-ACM: fix poison/unpoison imbalance net: hso: fix NULL-deref on disconnect regression x86/crash: Fix crash_setup_memmap_entries() out-of-bounds access ia64: tools: remove duplicate definition of ia64_mf() on ia64 ia64: fix discontig.c section mismatches csky: change a Kconfig symbol name to fix e1000 build error kasan: fix hwasan build for gcc cavium/liquidio: Fix duplicate argument xen-netback: Check for hotplug-status existence before watching arm64: kprobes: Restore local irqflag if kprobes is cancelled s390/entry: save the caller of psw_idle dmaengine: tegra20: Fix runtime PM imbalance on error net: geneve: check skb is large enough for IPv4/IPv6 header ARM: dts: Fix swapped mmc order for omap3 dmaengine: xilinx: dpdma: Fix race condition in done IRQ dmaengine: xilinx: dpdma: Fix descriptor issuing on video group soc: qcom: geni: shield geni_icc_get() for ACPI boot HID: wacom: Assign boolean values to a bool variable HID cp2112: fix support for multiple gpiochips HID: alps: fix error return code in alps_input_configured() HID: google: add don USB id perf map: Fix error return code in maps__clone() perf auxtrace: Fix potential NULL pointer dereference perf/x86/kvm: Fix Broadwell Xeon stepping in isolation_ucodes[] perf/x86/intel/uncore: Remove uncore extra PCI dev HSWEP_PCI_PCU_3 locking/qrwlock: Fix ordering in queued_write_lock_slowpath() bpf: Tighten speculative pointer arithmetic mask bpf: Refactor and streamline bounds check into helper bpf: Allow variable-offset stack access bpf: Permits pointers on stack for helper calls arm64: dts: allwinner: Revert SD card CD GPIO for Pine64-LTS pinctrl: core: Show pin numbers for the controllers with base = 0 block: return -EBUSY when there are open partitions in blkdev_reread_part pinctrl: lewisburg: Update number of pins in community vdpa/mlx5: Set err = -ENOMEM in case dma_map_sg_attrs fails KEYS: trusted: Fix TPM reservation for seal/unseal gpio: omap: Save and restore sysconfig vhost-vdpa: protect concurrent access to vhost device iotlb ANDROID: GKI: Update the generic symbol list ANDROID: ABI: Add symbols for crypto ANDROID: ABI: Update the ABI XML Revert "ANDROID: GKI: Change UCLAMP_BUCKETS_COUNT to 20" ANDROID: vendor_hooks: Add hook for binder UPSTREAM: crypto: arm/blake2s - fix for big endian UPSTREAM: crypto: arm/blake2b - drop unnecessary return statement FROMGIT: kasan, arm64: tests supports for HW_TAGS async mode FROMGIT: arm64: mte: Report async tag faults before suspend FROMGIT: arm64: mte: Enable async tag check fault FROMGIT: arm64: mte: Conditionally compile mte_enable_kernel_*() ANDROID: ABI: Update the ABI xml ANDROID: ABI: Update the generic symbol list ANDROID: selinux: add vendor hook in selinux FROMGIT: arm64: mte: Enable TCO in functions that can read beyond buffer limits Change-Id: Ia5306eea12edc8ec29b8732a03de075bed22a1bf Signed-off-by: Ivaylo Georgiev <irgeorgiev@codeaurora.org> |
||
Ivaylo Georgiev
|
fd88580ed5 |
Merge keystone/android12-5.10-keystone-qcom-release.32+ (0fad51f ) into msm-5.10
* refs/heads/tmp-0fad51f: ANDROID: sched: Add vendor hooks for update_load_avg ANDROID: Update ABI with __traceiter_*() additions ANDROID: Update the cf symbol list ANDROID: Update the qcom symbol list ANDROID: Update the hikey960 symbol list ANDROID: Update the generic symbol list ANDROID: Update the exynos symbol list ANDROID: Update the db845c symbol list UPSTREAM: arm64: Move PSTATE.TCO setting to separate functions FROMGIT: kasan: Add report for async mode FROMGIT: arm64: mte: Drop arch_enable_tagging() ANDROID: GKI: 4/23 KMI update FROMGIT: kasan: Add KASAN mode kernel parameter FROMGIT: arm64: mte: Add asynchronous mode support ANDROID: GKI: update ABI description FROMLIST: remoteproc: core: Move cdev add before device add ANDROID: mm: allow vmas with vm_ops to be speculatively handled ANDROID: sched: Add ANDROID_OEM_DATA_ARRAY in user_struct. ANDROID: sched: Add vendor hooks for sched. ANDROID: sched: Add vendor hooks to compute new cpu freq. Revert "Revert "net: xfrm: Localize sequence counter per network namespace"" FROMGIT: usb: typec: tcpm: Allow slow charging loops to comply to pSnkStby FROMGIT: usb: dwc3: gadget: Check for disabled LPM quirk ANDROID: GKI: arm64: reserve space in cpu_hwcaps and cpu_hwcap_keys arrays FROMLIST: export: Make CRCs robust to symbol trimming ANDROID: Kconfig.gki Add SND_SOC_TOPOLOGY ANDROID: GKI: Change UCLAMP_BUCKETS_COUNT to 20 FROMGIT: ASoC: soc-component: Add snd_soc_pcm_component_ack UPSTREAM: ASoC: dmaengine_pcm: add peripheral configuration UPSTREAM: dmaengine: add peripheral configuration UPSTREAM: PM: domains: use device's next wakeup to determine domain idle state UPSTREAM: PM: domains: inform PM domain of a device's next wakeup Revert "FROMLIST: PM / Domains: add domain feature flag for next wakeup" Revert "FROMLIST: PM / domains: inform PM domain of a device's next wakeup" Revert "FROMLIST: PM / Domains: use device's next wakeup to determine domain idle state" FROMGIT: mm: cma: add the CMA instance name to cma trace events FROMGIT: mm: cma: Add the CMA instance name to the cma_alloc_start trace event FROMGIT: mm: cma: add trace events for CMA alloc perf testing ANDROID: mm: compaction: fix isolate_and_split_free_page() redefinition ANDROID: vendor_hooks: Fix build-break due to psi_event ANDROID: GKI: Update abi_gki_aarch64_qcom list for kprobe module ANDROID: GKI: Enable CONFIG_HIST_TRIGGERS FROMGIT: tick/broadcast: Allow late registered device to enter oneshot mode UPSTREAM: arm64: uaccess: split user/kernel routines UPSTREAM: arm64: uaccess: refactor __{get,put}_user BACKPORT: arm64: uaccess: rename privileged uaccess routines ANDROID: Incremental fs: Add INCFS_IOC_GET_LAST_READ_ERROR ANDROID: Incremental fs: Fix INCFS_MAGIC_NUMBER casts ANDROID: Incremental fs: Add status to sysfs ANDROID: Incremental fs: fix u64 integer cast to pointer ANDROID: Incremental fs: stat should return actual used blocks ANDROID: Incremental fs: Add FS_IOC_READ_VERITY_METADATA ANDROID: export find_user() & free_uid()for GKI purpose. ANDROID: GKI: update ABI description ANDROID: GKI: Update abi_gki_aarch64_qcom for kgsl AO tracing support ANDROID: ABI: update symbols to unisoc whitelist for the fifth time ANDROID: sched: Add vendor hooks for cpu affinity. ANDROID: GKI: Update abi_gki_aarch64_qcom list for reverse migration ANDROID: abi_gki_aarch64_generic: Add a few more symbols FROMGIT: usb: dwc3: gadget: Remove FS bInterval_m1 limitation ANDROID: abi_gki_aarch64_qcom: Add __bitmap_or ANDROID: GKI: Update abi_gki_aarch64_qcom for gpio block read tracepoint FROMGIT: dt-bindings: connector: Add slow-charger-loop definition FROMGIT: usb: dwc3: gadget: Fix START_TRANSFER link state check FROMGIT: usb: gadget: Fix double free of device descriptor pointers FROMGIT: usb: typec: tcpm: Fix error while calculating PPS out values ANDROID: inline isolate_and_split_free_page ANDROID: kernel: clear debug_kinfo precisely ANDROID: cgroup: Add vendor hook for cpuset. ANDROID: GKI: Update abi_gki_aarch64_qcom for PSI tracepoints ANDROID: psi: Add vendor hooks for PSI tracing Linux 5.10.32 net: phy: marvell: fix detection of PHY on Topaz switches bpf: Move sanitize_val_alu out of op switch bpf: Improve verifier error messages for users bpf: Rework ptr_limit into alu_limit and add common error path arm64: mte: Ensure TIF_MTE_ASYNC_FAULT is set atomically ARM: 9071/1: uprobes: Don't hook on thumb instructions bpf: Move off_reg into sanitize_ptr_alu bpf: Ensure off_reg has no mixed signed bounds for all types r8169: don't advertise pause in jumbo mode r8169: tweak max read request size for newer chips also in jumbo mtu mode KVM: VMX: Don't use vcpu->run->internal.ndata as an array index KVM: VMX: Convert vcpu_vmx.exit_reason to a union bpf: Use correct permission flag for mixed signed bounds arithmetic arm64: dts: allwinner: h6: beelink-gs1: Remove ext. 32 kHz osc reference arm64: dts: allwinner: Fix SD card CD GPIO for SOPine systems ARM: OMAP2+: Fix uninitialized sr_inst ARM: footbridge: fix PCI interrupt mapping ARM: 9069/1: NOMMU: Fix conversion for_each_membock() to for_each_mem_range() ARM: OMAP2+: Fix warning for omap_init_time_of() gro: ensure frag0 meets IP header alignment ch_ktls: do not send snd_una update to TCB in middle ch_ktls: tcb close causes tls connection failure ch_ktls: fix device connection close ch_ktls: Fix kernel panic ibmvnic: remove duplicate napi_schedule call in open function ibmvnic: remove duplicate napi_schedule call in do_reset function ibmvnic: avoid calling napi_disable() twice ia64: tools: remove inclusion of ia64-specific version of errno.h header ia64: remove duplicate entries in generic_defconfig ethtool: pause: make sure we init driver stats i40e: fix the panic when running bpf in xdpdrv mode net: Make tcp_allowed_congestion_control readonly in non-init netns mm: ptdump: fix build failure net: ip6_tunnel: Unregister catch-all devices net: sit: Unregister catch-all devices net: davicom: Fix regulator not turned off on failed probe net/mlx5e: Fix setting of RS FEC mode netfilter: nft_limit: avoid possible divide error in nft_limit_init net/mlx5e: fix ingress_ifindex check in mlx5e_flower_parse_meta net: macb: fix the restore of cmp registers libbpf: Fix potential NULL pointer dereference netfilter: arp_tables: add pre_exit hook for table unregister netfilter: bridge: add pre_exit hooks for ebtable unregistration libnvdimm/region: Fix nvdimm_has_flush() to handle ND_REGION_ASYNC ice: Fix potential infinite loop when using u8 loop counter netfilter: conntrack: do not print icmpv6 as unknown via /proc netfilter: flowtable: fix NAT IPv6 offload mangling ixgbe: fix unbalanced device enable/disable in suspend/resume scsi: libsas: Reset num_scatter if libata marks qc as NODATA riscv: Fix spelling mistake "SPARSEMEM" to "SPARSMEM" vfio/pci: Add missing range check in vfio_pci_mmap arm64: alternatives: Move length validation in alternative_{insn, endif} arm64: fix inline asm in load_unaligned_zeropad() readdir: make sure to verify directory entry for legacy interfaces too dm verity fec: fix misaligned RS roots IO HID: wacom: set EV_KEY and EV_ABS only for non-HID_GENERIC type of devices Input: i8042 - fix Pegatron C15B ID entry Input: s6sy761 - fix coordinate read bit shift lib: fix kconfig dependency on ARCH_WANT_FRAME_POINTERS virt_wifi: Return micros for BSS TSF values mac80211: clear sta->fast_rx when STA removed from 4-addr VLAN pcnet32: Use pci_resource_len to validate PCI resource net: ieee802154: forbid monitor for add llsec seclevel net: ieee802154: stop dump llsec seclevels for monitors net: ieee802154: forbid monitor for del llsec devkey net: ieee802154: forbid monitor for add llsec devkey net: ieee802154: stop dump llsec devkeys for monitors net: ieee802154: forbid monitor for del llsec dev net: ieee802154: forbid monitor for add llsec dev net: ieee802154: stop dump llsec devs for monitors net: ieee802154: forbid monitor for del llsec key net: ieee802154: forbid monitor for add llsec key net: ieee802154: stop dump llsec keys for monitors iwlwifi: add support for Qu with AX201 device scsi: scsi_transport_srp: Don't block target in SRP_PORT_LOST state ASoC: fsl_esai: Fix TDM slot setup for I2S mode drm/msm: Fix a5xx/a6xx timestamps ARM: omap1: fix building with clang IAS ARM: keystone: fix integer overflow warning neighbour: Disregard DEAD dst in neigh_update gpu/xen: Fix a use after free in xen_drm_drv_init ASoC: max98373: Added 30ms turn on/off time delay ASoC: max98373: Changed amp shutdown register as volatile xfrm: BEET mode doesn't support fragments for inner packets iwlwifi: Fix softirq/hardirq disabling in iwl_pcie_enqueue_hcmd() arc: kernel: Return -EFAULT if copy_to_user() fails lockdep: Add a missing initialization hint to the "INFO: Trying to register non-static key" message ARM: dts: Fix moving mmc devices with aliases for omap4 & 5 ARM: dts: Drop duplicate sha2md5_fck to fix clk_disable race ACPI: x86: Call acpi_boot_table_init() after acpi_table_upgrade() dmaengine: idxd: fix wq cleanup of WQCFG registers dmaengine: plx_dma: add a missing put_device() on error path dmaengine: Fix a double free in dma_async_device_register dmaengine: dw: Make it dependent to HAS_IOMEM dmaengine: idxd: fix wq size store permission state dmaengine: idxd: fix opcap sysfs attribute output dmaengine: idxd: fix delta_rec and crc size field for completion record dmaengine: idxd: Fix clobbering of SWERR overflow bit on writeback gpio: sysfs: Obey valid_mask Input: nspire-keypad - enable interrupts only when opened mtd: rawnand: mtk: Fix WAITRDY break condition and timeout net/sctp: fix race condition in sctp_destroy_sock ANDROID: abi_gki_aarch64_qcom: Add android_rvh_sched_setaffinity ANDROID: gki_defconfig: temporarily disable KFENCE in GKI ANDROID: GKI: Update abi_gki_aarch64_qcom list for minidump ANDROID: implement wrapper for reverse migration ANDROID: cpuidle: enable TEO and MENU governors in gki_defconfig ANDROID: abi_gki_aarch64_qcom: Update symbol list ANDROID: clang: update to 12.0.5 ANDROID: Add initial Exynos symbol list Conflicts: Documentation/devicetree/bindings Documentation/devicetree/bindings/connector/usb-connector.yaml include/linux/pm_domain.h Change-Id: I5701e429fa31cfb870b758f09af62b9bdad0fac9 Signed-off-by: Ivaylo Georgiev <irgeorgiev@codeaurora.org> |
||
Marco Elver
|
b9bb7f3153 |
FROMGIT: kfence: await for allocation using wait_event
Patch series "kfence: optimize timer scheduling", v2. We have observed that mostly-idle systems with KFENCE enabled wake up otherwise idle CPUs, preventing such to enter a lower power state. Debugging revealed that KFENCE spends too much active time in toggle_allocation_gate(). While the first version of KFENCE was using all the right bits to be scheduling optimal, and thus power efficient, by simply using wait_event() + wake_up(), that code was unfortunately removed. As KFENCE was exposed to various different configs and tests, the scheduling optimal code slowly disappeared. First because of hung task warnings, and finally because of deadlocks when an allocation is made by timer code with debug objects enabled. Clearly, the "fixes" were not too friendly for devices that want to be power efficient. Therefore, let's try a little harder to fix the hung task and deadlock problems that we have with wait_event() + wake_up(), while remaining as scheduling friendly and power efficient as possible. Crucially, we need to defer the wake_up() to an irq_work, avoiding any potential for deadlock. The result with this series is that on the devices where we observed a power regression, power usage returns back to baseline levels. This patch (of 3): On mostly-idle systems, we have observed that toggle_allocation_gate() is a cause of frequent wake-ups, preventing an otherwise idle CPU to go into a lower power state. A late change in KFENCE's development, due to a potential deadlock [1], required changing the scheduling-friendly wait_event_timeout() and wake_up() to an open-coded wait-loop using schedule_timeout(). [1] https://lkml.kernel.org/r/000000000000c0645805b7f982e4@google.com To avoid unnecessary wake-ups, switch to using wait_event_timeout(). Unfortunately, we still cannot use a version with direct wake_up() in __kfence_alloc() due to the same potential for deadlock as in [1]. Instead, add a level of indirection via an irq_work that is scheduled if we determine that the kfence_timer requires a wake_up(). Link: https://lkml.kernel.org/r/20210421105132.3965998-1-elver@google.com Link: https://lkml.kernel.org/r/20210421105132.3965998-2-elver@google.com Fixes: 0ce20dd84089 ("mm: add Kernel Electric-Fence infrastructure") Signed-off-by: Marco Elver <elver@google.com> Cc: Alexander Potapenko <glider@google.com> Cc: Dmitry Vyukov <dvyukov@google.com> Cc: Jann Horn <jannh@google.com> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Hillf Danton <hdanton@sina.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Bug: 172317151 Bug: 185280916 Test: power team confirmed there's no regression (cherry picked from commit 0ac66fbbadde5547db190e9d87ff2e77d245f9a2 https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git akpm) Signed-off-by: Alexander Potapenko <glider@google.com> Change-Id: Idba39683f0b76eb3f70df1113e43d94845fab5bf |
||
Andrey Konovalov
|
ccc8708bde |
FROMGIT: kasan, arm64: tests supports for HW_TAGS async mode
This change adds KASAN-KUnit tests support for the async HW_TAGS mode. In async mode, tag fault aren't being generated synchronously when a bad access happens, but are instead explicitly checked for by the kernel. As each KASAN-KUnit test expect a fault to happen before the test is over, check for faults as a part of the test handler. Acked-by: Catalin Marinas <catalin.marinas@arm.com> Acked-by: Andrey Konovalov <andreyknvl@google.com> Tested-by: Andrey Konovalov <andreyknvl@google.com> Signed-off-by: Andrey Konovalov <andreyknvl@google.com> Signed-off-by: Vincenzo Frascino <vincenzo.frascino@arm.com> Link: https://lore.kernel.org/r/20210315132019.33202-10-vincenzo.frascino@arm.com Signed-off-by: Catalin Marinas <catalin.marinas@arm.com> Bug: 170327579 Bug: 172318110 (cherry picked from commit e80a76aa1a91018d919d2210366943f9bf17009e git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git/ for-next/mte-async-kernel-mode) Signed-off-by: Alexander Potapenko <glider@google.com> Change-Id: I45a6bc351bce937797b1b08e9220a137225f9d55 |
||
Vincenzo Frascino
|
563c7d9596 |
FROMGIT: kasan: Add KASAN mode kernel parameter
Architectures supported by KASAN_HW_TAGS can provide a sync or async mode of execution. On an MTE enabled arm64 hw for example this can be identified with the synchronous or asynchronous tagging mode of execution. In synchronous mode, an exception is triggered if a tag check fault occurs. In asynchronous mode, if a tag check fault occurs, the TFSR_EL1 register is updated asynchronously. The kernel checks the corresponding bits periodically. KASAN requires a specific kernel command line parameter to make use of this hw features. Add KASAN HW execution mode kernel command line parameter. Note: This patch adds the kasan.mode kernel parameter and the sync/async kernel command line options to enable the described features. [ Add a new var instead of exposing kasan_arg_mode to be consistent with flags for other command line arguments. ] Cc: Dmitry Vyukov <dvyukov@google.com> Cc: Andrey Ryabinin <aryabinin@virtuozzo.com> Cc: Alexander Potapenko <glider@google.com> Cc: Andrey Konovalov <andreyknvl@google.com> Reviewed-by: Andrey Konovalov <andreyknvl@google.com> Acked-by: Catalin Marinas <catalin.marinas@arm.com> Acked-by: Andrey Konovalov <andreyknvl@google.com> Tested-by: Andrey Konovalov <andreyknvl@google.com> Signed-off-by: Vincenzo Frascino <vincenzo.frascino@arm.com> Signed-off-by: Andrey Konovalov <andreyknvl@google.com> Link: https://lore.kernel.org/r/20210315132019.33202-3-vincenzo.frascino@arm.com Signed-off-by: Catalin Marinas <catalin.marinas@arm.com> Bug: 170327579 Bug: 172318110 (cherry picked from commit 2603f8a78dfb1d54f62dbacc490ea44aa6d80e04 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git/ for-next/mte-async-kernel-mode) Signed-off-by: Alexander Potapenko <glider@google.com> Change-Id: I193e9eb0c016abc525ef69a1b9b2bb7254856162 |
||
Ivaylo Georgiev
|
facc06358f |
Merge android12-5.10-keystone-qcom-release.31+ (ade2bf9 ) into msm-5.10
* refs/heads/tmp-ade2bf9: ANDROID: mm: fix mixed declaration and code warning ANDROID: sched/fair: call set_next_entity() on the replaced next task FROMGIT: binder: fix the missing BR_FROZEN_REPLY in binder_return_strings FROMLIST: drivers/clocksource/timer-of: Remove __init markings ANDROID: GKI: Add support for a GKI_DEFCONFIG_FRAGMENT ANDROID: GKI: Update abi_gki_aarch64_qcom for logbuf tracepoint Linux 5.10.31 xen/events: fix setting irq affinity net: sfp: cope with SFPs that set both LOS normal and LOS inverted net: sfp: relax bitrate-derived mode check perf map: Tighten snprintf() string precision to pass gcc check on some 32-bit arches netfilter: x_tables: fix compat match/target pad out-of-bound write block: don't ignore REQ_NOWAIT for direct IO riscv,entry: fix misaligned base for excp_vect_table io_uring: don't mark S_ISBLK async work as unbounded null_blk: fix command timeout completion handling idr test suite: Create anchor before launching throbber idr test suite: Take RCU read lock in idr_find_test_1 radix tree test suite: Register the main thread with the RCU library block: only update parent bi_status when bio fail XArray: Fix splitting to non-zero orders gpu: host1x: Use different lock classes for each client drm/tegra: dc: Don't set PLL clock to 0Hz tools/kvm_stat: Add restart delay ftrace: Check if pages were allocated before calling free_pages() gfs2: report "already frozen/thawed" errors drm/imx: imx-ldb: fix out of bounds array access warning KVM: arm64: Disable guest access to trace filter controls KVM: arm64: Hide system instruction access to Trace registers gfs2: Flag a withdraw if init_threads() fails interconnect: core: fix error return code of icc_link_destroy() ANDROID: PCI: dwc: Export symbols for ep driver ANDROID: abi_gki_aarch64_qcom: Add sock_setsockopt to list ANDROID: vendor_hooks: tune reclaim swappiness or scan type FROMGIT: media: docs: Document colorimetry class FROMGIT: media: v4l: Add new Colorimetry Class FROMGIT: media: v4l2-ctrl: Add decoder conceal color control FROMGIT: media: v4l2-ctrl: add controls for long term reference. FROMGIT: media: v4l2-ctrls: Add control for AUD generation FROMGIT: media: docs: Deprecate mfc display delay controls FROMGIT: media: s5p-mfc: Use display delay and display enable std controls FROMGIT: media: v4l2-ctrl: Make display delay and display enable std controls ANDROID: Make KMI_SYMBOL_LIST_STRICT_MODE overrideable ANDROID: logbuf: vendor hook for logbuf dump on oops ANDROID: Incremental fs: fix minor printk format warning Change-Id: I7188180832ee7fa2dfc8a9ad4f3ecb402bc0fd80 Signed-off-by: Elliot Berman <eberman@codeaurora.org> Signed-off-by: Ivaylo Georgiev <irgeorgiev@codeaurora.org> |
||
Greg Kroah-Hartman
|
32b16a3a3f |
This is the 5.10.32 stable release
-----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEZH8oZUiU471FcZm+ONu9yGCSaT4FAmCACCYACgkQONu9yGCS aT7BkA//ZVfIoUb4EThpqWz3qjHCxQ5jqOH3XT//a2hhAFBp8wZAe4JRf76oqKyz G+2ZPQFU+susfhvYQVcxp2C6A9XomRSlX00MqFsKVrcOPG/IL/iBdNgBma/ajG8R 0ARmgTBZBt+3i3nED5i26SzBR3vFx0lrwU3zaZoivAQpDkzzHFte++s4lLqSEY8i rxEe0sUm6HpsXiuRPkNU2yH1/2immgypbIYNaaOjPGxIO4aKouPGIMZtEm5/w3Oi h+eDSQH8fCN5jJjX9sGIqiK1XJEeS+hyUPsSjKypytVkRLqHEXE3Dcau24giHfEm iWM8Xh16Nudvh0vnWNfsMGZeghKwgLr71OnW4AcPe6dCG7fh4cKvyAuXFneL2PeZ NgGEFKIsFNXtaPLNn8peot3TeSemMdkuc2ORdiq2OKmU1umkczF6Y5L38JxMWEnZ /FoPIhigqobF0AujaFK/wKu5eznZDGiZqRpluJLF2yZYbHAEiDjwemSb+Xa6tmpe wXFIhu6ipQlKhqFfIGo1sIKachXkk/CvKwbFPUYh+CjZGgls9nZH0sGSNVa+p2BY 7k+I7CfRZgAjWd1W0UM5J2oZ2uVU66zBH3SwF2RBbsWhi+btvfzMhVQIK1FJwJFQ bsuVegUAwR5mSVlBk2QpLIDJ55BqPXOorba7i8CuAoUjETr1MEY= =YPgE -----END PGP SIGNATURE----- Merge 5.10.32 into android12-5.10 Changes in 5.10.32 net/sctp: fix race condition in sctp_destroy_sock mtd: rawnand: mtk: Fix WAITRDY break condition and timeout Input: nspire-keypad - enable interrupts only when opened gpio: sysfs: Obey valid_mask dmaengine: idxd: Fix clobbering of SWERR overflow bit on writeback dmaengine: idxd: fix delta_rec and crc size field for completion record dmaengine: idxd: fix opcap sysfs attribute output dmaengine: idxd: fix wq size store permission state dmaengine: dw: Make it dependent to HAS_IOMEM dmaengine: Fix a double free in dma_async_device_register dmaengine: plx_dma: add a missing put_device() on error path dmaengine: idxd: fix wq cleanup of WQCFG registers ACPI: x86: Call acpi_boot_table_init() after acpi_table_upgrade() ARM: dts: Drop duplicate sha2md5_fck to fix clk_disable race ARM: dts: Fix moving mmc devices with aliases for omap4 & 5 lockdep: Add a missing initialization hint to the "INFO: Trying to register non-static key" message arc: kernel: Return -EFAULT if copy_to_user() fails iwlwifi: Fix softirq/hardirq disabling in iwl_pcie_enqueue_hcmd() xfrm: BEET mode doesn't support fragments for inner packets ASoC: max98373: Changed amp shutdown register as volatile ASoC: max98373: Added 30ms turn on/off time delay gpu/xen: Fix a use after free in xen_drm_drv_init neighbour: Disregard DEAD dst in neigh_update ARM: keystone: fix integer overflow warning ARM: omap1: fix building with clang IAS drm/msm: Fix a5xx/a6xx timestamps ASoC: fsl_esai: Fix TDM slot setup for I2S mode scsi: scsi_transport_srp: Don't block target in SRP_PORT_LOST state iwlwifi: add support for Qu with AX201 device net: ieee802154: stop dump llsec keys for monitors net: ieee802154: forbid monitor for add llsec key net: ieee802154: forbid monitor for del llsec key net: ieee802154: stop dump llsec devs for monitors net: ieee802154: forbid monitor for add llsec dev net: ieee802154: forbid monitor for del llsec dev net: ieee802154: stop dump llsec devkeys for monitors net: ieee802154: forbid monitor for add llsec devkey net: ieee802154: forbid monitor for del llsec devkey net: ieee802154: stop dump llsec seclevels for monitors net: ieee802154: forbid monitor for add llsec seclevel pcnet32: Use pci_resource_len to validate PCI resource mac80211: clear sta->fast_rx when STA removed from 4-addr VLAN virt_wifi: Return micros for BSS TSF values lib: fix kconfig dependency on ARCH_WANT_FRAME_POINTERS Input: s6sy761 - fix coordinate read bit shift Input: i8042 - fix Pegatron C15B ID entry HID: wacom: set EV_KEY and EV_ABS only for non-HID_GENERIC type of devices dm verity fec: fix misaligned RS roots IO readdir: make sure to verify directory entry for legacy interfaces too arm64: fix inline asm in load_unaligned_zeropad() arm64: alternatives: Move length validation in alternative_{insn, endif} vfio/pci: Add missing range check in vfio_pci_mmap riscv: Fix spelling mistake "SPARSEMEM" to "SPARSMEM" scsi: libsas: Reset num_scatter if libata marks qc as NODATA ixgbe: fix unbalanced device enable/disable in suspend/resume netfilter: flowtable: fix NAT IPv6 offload mangling netfilter: conntrack: do not print icmpv6 as unknown via /proc ice: Fix potential infinite loop when using u8 loop counter libnvdimm/region: Fix nvdimm_has_flush() to handle ND_REGION_ASYNC netfilter: bridge: add pre_exit hooks for ebtable unregistration netfilter: arp_tables: add pre_exit hook for table unregister libbpf: Fix potential NULL pointer dereference net: macb: fix the restore of cmp registers net/mlx5e: fix ingress_ifindex check in mlx5e_flower_parse_meta netfilter: nft_limit: avoid possible divide error in nft_limit_init net/mlx5e: Fix setting of RS FEC mode net: davicom: Fix regulator not turned off on failed probe net: sit: Unregister catch-all devices net: ip6_tunnel: Unregister catch-all devices mm: ptdump: fix build failure net: Make tcp_allowed_congestion_control readonly in non-init netns i40e: fix the panic when running bpf in xdpdrv mode ethtool: pause: make sure we init driver stats ia64: remove duplicate entries in generic_defconfig ia64: tools: remove inclusion of ia64-specific version of errno.h header ibmvnic: avoid calling napi_disable() twice ibmvnic: remove duplicate napi_schedule call in do_reset function ibmvnic: remove duplicate napi_schedule call in open function ch_ktls: Fix kernel panic ch_ktls: fix device connection close ch_ktls: tcb close causes tls connection failure ch_ktls: do not send snd_una update to TCB in middle gro: ensure frag0 meets IP header alignment ARM: OMAP2+: Fix warning for omap_init_time_of() ARM: 9069/1: NOMMU: Fix conversion for_each_membock() to for_each_mem_range() ARM: footbridge: fix PCI interrupt mapping ARM: OMAP2+: Fix uninitialized sr_inst arm64: dts: allwinner: Fix SD card CD GPIO for SOPine systems arm64: dts: allwinner: h6: beelink-gs1: Remove ext. 32 kHz osc reference bpf: Use correct permission flag for mixed signed bounds arithmetic KVM: VMX: Convert vcpu_vmx.exit_reason to a union KVM: VMX: Don't use vcpu->run->internal.ndata as an array index r8169: tweak max read request size for newer chips also in jumbo mtu mode r8169: don't advertise pause in jumbo mode bpf: Ensure off_reg has no mixed signed bounds for all types bpf: Move off_reg into sanitize_ptr_alu ARM: 9071/1: uprobes: Don't hook on thumb instructions arm64: mte: Ensure TIF_MTE_ASYNC_FAULT is set atomically bpf: Rework ptr_limit into alu_limit and add common error path bpf: Improve verifier error messages for users bpf: Move sanitize_val_alu out of op switch net: phy: marvell: fix detection of PHY on Topaz switches Linux 5.10.32 Signed-off-by: Greg Kroah-Hartman <gregkh@google.com> Change-Id: If247bf8401509195e4f55f03dcc514f80d467966 |
||
Julian Braha
|
955da2b5cd |
lib: fix kconfig dependency on ARCH_WANT_FRAME_POINTERS
[ Upstream commit 7d37cb2c912dc5c25ffac784a4f9b98c06c6bd08 ] When LATENCYTOP, LOCKDEP, or FAULT_INJECTION_STACKTRACE_FILTER is enabled and ARCH_WANT_FRAME_POINTERS is disabled, Kbuild gives a warning such as: WARNING: unmet direct dependencies detected for FRAME_POINTER Depends on [n]: DEBUG_KERNEL [=y] && (M68K || UML || SUPERH) || ARCH_WANT_FRAME_POINTERS [=n] || MCOUNT [=n] Selected by [y]: - LATENCYTOP [=y] && DEBUG_KERNEL [=y] && STACKTRACE_SUPPORT [=y] && PROC_FS [=y] && !MIPS && !PPC && !S390 && !MICROBLAZE && !ARM && !ARC && !X86 Depending on ARCH_WANT_FRAME_POINTERS causes a recursive dependency error. ARCH_WANT_FRAME_POINTERS is to be selected by the architecture, and is not supposed to be overridden by other config options. Link: https://lkml.kernel.org/r/20210329165329.27994-1-julianbraha@gmail.com Signed-off-by: Julian Braha <julianbraha@gmail.com> Cc: Andreas Schwab <schwab@linux-m68k.org> Cc: Geert Uytterhoeven <geert@linux-m68k.org> Cc: Necip Fazil Yildiran <fazilyildiran@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Sasha Levin <sashal@kernel.org> |
||
Greg Kroah-Hartman
|
ab8b108b0a |
Merge 5.10.31 into android12-5.10
Changes in 5.10.31 interconnect: core: fix error return code of icc_link_destroy() gfs2: Flag a withdraw if init_threads() fails KVM: arm64: Hide system instruction access to Trace registers KVM: arm64: Disable guest access to trace filter controls drm/imx: imx-ldb: fix out of bounds array access warning gfs2: report "already frozen/thawed" errors ftrace: Check if pages were allocated before calling free_pages() tools/kvm_stat: Add restart delay drm/tegra: dc: Don't set PLL clock to 0Hz gpu: host1x: Use different lock classes for each client XArray: Fix splitting to non-zero orders block: only update parent bi_status when bio fail radix tree test suite: Register the main thread with the RCU library idr test suite: Take RCU read lock in idr_find_test_1 idr test suite: Create anchor before launching throbber null_blk: fix command timeout completion handling io_uring: don't mark S_ISBLK async work as unbounded riscv,entry: fix misaligned base for excp_vect_table block: don't ignore REQ_NOWAIT for direct IO netfilter: x_tables: fix compat match/target pad out-of-bound write perf map: Tighten snprintf() string precision to pass gcc check on some 32-bit arches net: sfp: relax bitrate-derived mode check net: sfp: cope with SFPs that set both LOS normal and LOS inverted xen/events: fix setting irq affinity Linux 5.10.31 Signed-off-by: Greg Kroah-Hartman <gregkh@google.com> Change-Id: I19a7cfbdaab23e578dd82c552aea86d367c2f40f |
||
Matthew Wilcox (Oracle)
|
d99e22c0ea |
XArray: Fix splitting to non-zero orders
[ Upstream commit 3012110d71f41410932924e1d188f9eb57f1f824 ] Splitting an order-4 entry into order-2 entries would leave the array containing pointers to 000040008000c000 instead of 000044448888cccc. This is a one-character fix, but enhance the test suite to check this case. Reported-by: Zi Yan <ziy@nvidia.com> Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Signed-off-by: Sasha Levin <sashal@kernel.org> |
||
Ivaylo Georgiev
|
01bf73a615 |
Merge android12-5.10.29 (c62f091 ) into msm-5.10
* refs/heads/tmp-c62f091: ANDROID: Add GKI_HIDDEN_MM_CONFIGS to support ballooning. ANDROID: usb: dwc3: gadget: don't cancel the started requests Linux 5.10.29 init/Kconfig: make COMPILE_TEST depend on HAS_IOMEM init/Kconfig: make COMPILE_TEST depend on !S390 bpf, x86: Validate computation of branch displacements for x86-32 bpf, x86: Validate computation of branch displacements for x86-64 tools/resolve_btfids: Add /libbpf to .gitignore kbuild: Do not clean resolve_btfids if the output does not exist kbuild: Add resolve_btfids clean to root clean target tools/resolve_btfids: Set srctree variable unconditionally tools/resolve_btfids: Check objects before removing tools/resolve_btfids: Build libbpf and libsubcmd in separate directories math: Export mul_u64_u64_div_u64 io_uring: fix timeout cancel return code cifs: Silently ignore unknown oplock break handle cifs: revalidate mapping when we open files for SMB1 POSIX ia64: fix format strings for err_inject ia64: mca: allocate early mca with GFP_ATOMIC selftests/vm: fix out-of-tree build scsi: target: pscsi: Clean up after failure in pscsi_map_sg() ptp_qoriq: fix overflow in ptp_qoriq_adjfine() u64 calcalation platform/x86: intel_pmc_core: Ignore GBE LTR on Tiger Lake platforms block: clear GD_NEED_PART_SCAN later in bdev_disk_changed x86/build: Turn off -fcf-protection for realmode targets drm/msm/disp/dpu1: icc path needs to be set before dpu runtime resume kselftest/arm64: sve: Do not use non-canonical FFR register value platform/x86: thinkpad_acpi: Allow the FnLock LED to change state net: ipa: fix init header command validation netfilter: nftables: skip hook overlap logic if flowtable is stale netfilter: conntrack: Fix gre tunneling over ipv6 drm/msm: Ratelimit invalid-fence message drm/msm/adreno: a5xx_power: Don't apply A540 lm_setup to other GPUs drm/msm/dsi_pll_7nm: Fix variable usage for pll_lockdet_rate mac80211: choose first enabled channel for monitor mac80211: Check crypto_aead_encrypt for errors mISDN: fix crash in fritzpci kunit: tool: Fix a python tuple typing error net: pxa168_eth: Fix a potential data race in pxa168_eth_remove net/mlx5e: Enforce minimum value check for ICOSQ size bpf, x86: Use kvmalloc_array instead kmalloc_array in bpf_jit_comp platform/x86: intel-hid: Support Lenovo ThinkPad X1 Tablet Gen 2 bus: ti-sysc: Fix warning on unbind if reset is not deasserted ARM: dts: am33xx: add aliases for mmc interfaces FROMGIT: usb: typec: tcpm: update power supply once partner accepts FROMGIT: usb: typec: tcpm: Address incorrect values of tcpm psy for pps supply FROMGIT: usb: typec: tcpm: Address incorrect values of tcpm psy for fixed supply ANDROID: first 4/9/2021 KMI update ANDROID: Add a new core symbol list FROMLIST: iommu/arm-smmu: Implement the map_pages() IOMMU driver callback FROMLIST: iommu/arm-smmu: Implement the unmap_pages() IOMMU driver callback FROMLIST: iommu/io-pgtable-arm-v7s: Implement arm_v7s_map_pages() FROMLIST: iommu/io-pgtable-arm-v7s: Implement arm_v7s_unmap_pages() FROMLIST: iommu/io-pgtable-arm: Implement arm_lpae_map_pages() FROMLIST: iommu/io-pgtable-arm: Implement arm_lpae_unmap_pages() BACKPORT: FROMLIST: iommu/io-pgtable-arm: Prepare PTE methods for handling multiple entries FROMLIST: iommu: Add support for the map_pages() callback FROMLIST: iommu: Hook up '->unmap_pages' driver callback FROMLIST: iommu: Split 'addr_merge' argument to iommu_pgsize() into separate parts FROMLIST: iommu: Use bitmap to calculate page size in iommu_pgsize() BACKPORT: FROMLIST: iommu: Add a map_pages() op for IOMMU drivers BACKPORT: FROMLIST: iommu/io-pgtable: Introduce map_pages() as a page table op FROMLIST: iommu: Add an unmap_pages() op for IOMMU drivers FROMLIST: iommu/io-pgtable: Introduce unmap_pages() as a page table op Revert "Revert "net: introduce CAN specific pointer in the struct net_device"" Revert "Revert "bpf: Use NOP_ATOMIC5 instead of emit_nops(&prog, 5) for BPF_TRAMP_F_CALL_ORIG"" Revert "Revert "bpf: Fix fexit trampoline."" Revert "ANDROID: GKI: hack to handle genksyms change in sound/soc/soc-core.c" Revert "Revert "can: dev: Move device back to init netns on owning netns delete"" Revert "Revert "net: phy: broadcom: Fix RGMII delays for BCM50160 and BCM50610M"" Revert "Revert "net: phy: broadcom: Set proper 1000BaseX/SGMII interface mode for BCM54616S"" Revert "Revert "net: phy: broadcom: Avoid forward for bcm54xx_config_clock_delay()"" Revert "Revert "net: phy: introduce phydev->port"" ANDROID: abi_gki_aarch64_qcom: Add __tracepoint_android_rvh_replace_next_task_fair ANDROID: sched: Update android_rvh_check_preempt_wakeup hook FROMGIT: scsi: ufs: ufs-debugfs: Add error counters FROMGIT: scsi: ufs: Refine error history functions ANDROID: GKI: Add android_rvh_cpu_cgroup_online to qcom symbol list ANDROID: sched: Add android_rvh_cpu_cgroup_online hook FROMLIST: userfaultfd/shmem: fix minor fault page leak FROMLIST: userfaultfd/hugetlbfs: Fix minor fault page leak BACKPORT: FROMGIT: userfaultfd/selftests: unify error handling FROMGIT: userfaultfd/selftests: only dump counts if mode enabled FROMGIT: userfaultfd/selftests: drop VERIFY check in locking_thread FROMGIT: userfaultfd/selftests: remove the time() check on delayed uffd FROMGIT: userfaultfd/selftests: use user mode only FROMGIT: userfaultfd/selftests: exercise minor fault handling shmem support BACKPORT: FROMGIT: userfaultfd/selftests: reinitialize test context in each test FROMGIT: userfaultfd/selftests: create alias mappings in the shmem test FROMGIT: userfaultfd/selftests: use memfd_create for shmem test type BACKPORT: FROMGIT: userfaultfd: support minor fault handling for shmem FROMGIT: userfaultfd/selftests: add test exercising minor fault handling FROMGIT: userfaultfd: update documentation to describe minor fault handling BACKPORT: FROMGIT: userfaultfd: add UFFDIO_CONTINUE ioctl BACKPORT: FROMGIT: userfaultfd: hugetlbfs: only compile UFFD helpers if config enabled FROMGIT: userfaultfd: disable huge PMD sharing for MINOR registered VMAs BACKPORT: FROMGIT: userfaultfd: add minor fault registration mode FROMGIT: hugetlb/userfaultfd: unshare all pmds for hugetlbfs when register wp FROMGIT: mm/hugetlb: move flush_hugetlb_tlb_range() into hugetlb.h FROMGIT: mm/hugetlb: fix build with !ARCH_WANT_HUGE_PMD_SHARE FROMGIT: hugetlb/userfaultfd: forbid huge pmd sharing when uffd enabled BACKPORT: FROMGIT: hugetlb: pass vma into huge_pte_alloc() and huge_pmd_share() ANDROID: arm64: coresight: Fix a sparse warning ANDROID: usb: dwc3: export tracepoint for dwc3 read/write Conflicts: drivers/iommu/arm/arm-smmu/arm-smmu.c Change-Id: Id5b65da0d3a7bd2e169e28f227f362c6627048ec Signed-off-by: Ivaylo Georgiev <irgeorgiev@codeaurora.org> |
||
Greg Kroah-Hartman
|
c62f09151d |
Merge 5.10.29 into android12-5.10
Changes in 5.10.29 ARM: dts: am33xx: add aliases for mmc interfaces bus: ti-sysc: Fix warning on unbind if reset is not deasserted platform/x86: intel-hid: Support Lenovo ThinkPad X1 Tablet Gen 2 bpf, x86: Use kvmalloc_array instead kmalloc_array in bpf_jit_comp net/mlx5e: Enforce minimum value check for ICOSQ size net: pxa168_eth: Fix a potential data race in pxa168_eth_remove kunit: tool: Fix a python tuple typing error mISDN: fix crash in fritzpci mac80211: Check crypto_aead_encrypt for errors mac80211: choose first enabled channel for monitor drm/msm/dsi_pll_7nm: Fix variable usage for pll_lockdet_rate drm/msm/adreno: a5xx_power: Don't apply A540 lm_setup to other GPUs drm/msm: Ratelimit invalid-fence message netfilter: conntrack: Fix gre tunneling over ipv6 netfilter: nftables: skip hook overlap logic if flowtable is stale net: ipa: fix init header command validation platform/x86: thinkpad_acpi: Allow the FnLock LED to change state kselftest/arm64: sve: Do not use non-canonical FFR register value drm/msm/disp/dpu1: icc path needs to be set before dpu runtime resume x86/build: Turn off -fcf-protection for realmode targets block: clear GD_NEED_PART_SCAN later in bdev_disk_changed platform/x86: intel_pmc_core: Ignore GBE LTR on Tiger Lake platforms ptp_qoriq: fix overflow in ptp_qoriq_adjfine() u64 calcalation scsi: target: pscsi: Clean up after failure in pscsi_map_sg() selftests/vm: fix out-of-tree build ia64: mca: allocate early mca with GFP_ATOMIC ia64: fix format strings for err_inject cifs: revalidate mapping when we open files for SMB1 POSIX cifs: Silently ignore unknown oplock break handle io_uring: fix timeout cancel return code math: Export mul_u64_u64_div_u64 tools/resolve_btfids: Build libbpf and libsubcmd in separate directories tools/resolve_btfids: Check objects before removing tools/resolve_btfids: Set srctree variable unconditionally kbuild: Add resolve_btfids clean to root clean target kbuild: Do not clean resolve_btfids if the output does not exist tools/resolve_btfids: Add /libbpf to .gitignore bpf, x86: Validate computation of branch displacements for x86-64 bpf, x86: Validate computation of branch displacements for x86-32 init/Kconfig: make COMPILE_TEST depend on !S390 init/Kconfig: make COMPILE_TEST depend on HAS_IOMEM Linux 5.10.29 Signed-off-by: Greg Kroah-Hartman <gregkh@google.com> Change-Id: Ib3f9484150747de48eca46c69d690830b790418e |
||
David S. Miller
|
2934985086 |
math: Export mul_u64_u64_div_u64
[ Upstream commit bf45947864764548697e7515fe693e10f173f312 ] Fixes: f51d7bf1dbe5 ("ptp_qoriq: fix overflow in ptp_qoriq_adjfine() u64 calcalation") Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Sasha Levin <sashal@kernel.org> |
||
Ivaylo Georgiev
|
ad2bc093ef |
Merge android12-5.10.26 (99941e2 ) into msm-5.10
* 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> |
||
Greg Kroah-Hartman
|
99941e23f7 |
Merge branch 'android12-5.10-lts' into 'android12-5.10'
Updates the branch to the 5.10.26 upstream kernel version. Signed-off-by: Greg Kroah-Hartman <gregkh@google.com> Change-Id: I84aa29bf4e4e809051eb346830c4c4b5acb78c8c |
||
Ivaylo Georgiev
|
86e90c034c |
Merge android12-5.10.21+ (44f812e ) into msm-5.10
* refs/heads/tmp-44f812e: ANDROID: sched/core: Move en/dequeue hooks before related callbacks FROMGIT: kasan: record task_work_add() call stack FROMGIT: kasan, mm: integrate slab init_on_free with HW_TAGS FROMGIT: kasan, mm: integrate slab init_on_alloc with HW_TAGS FROMGIT: kasan, mm: integrate page_alloc init with HW_TAGS FROMGIT: mm: introduce debug_pagealloc_{map,unmap}_pages() helpers FROMGIT: mm, page_poison: remove CONFIG_PAGE_POISONING_ZERO FROMGIT: mm/page_alloc: clear all pages in post_alloc_hook() with init_on_alloc=1 FROMGIT: mm, page_poison: remove CONFIG_PAGE_POISONING_NO_SANITY FROMGIT: kernel/power: allow hibernation with page_poison sanity checking FROMGIT: mm, page_poison: use static key more efficiently BACKPORT: mm, page_alloc: do not rely on the order of page_poison and init_on_alloc/free parameters FROMGIT: kasan: init memory in kasan_(un)poison for HW_TAGS FROMGIT: arm64: kasan: allow to init memory when setting tags FROMGIT: mm, kasan: don't poison boot memory with tag-based modes FROMGIT: kasan: initialize shadow to TAG_INVALID for SW_TAGS FROMGIT: mm/kasan: switch from strlcpy to strscpy BACKPORT: kasan: remove redundant config option FROMGIT: kasan: fix per-page tags for non-page_alloc pages FROMGIT: kasan: fix KASAN_STACK dependency for HW_TAGS FROMGIT: kasan, mm: fix crash with HW_TAGS and DEBUG_PAGEALLOC FROMGIT: arm64: kasan: fix page_alloc tagging with DEBUG_VIRTUAL FROMLIST: configfs: make directories inherit uid/gid from creator ANDROID: GKI: add some padding to some driver core structures ANDROID: Initial Android 12 OWNERS for abi metafiles UPSTREAM: iommu/msm: Hook up iotlb_sync_map UPSTREAM: memory: mtk-smi: Allow building as module UPSTREAM: memory: mtk-smi: Use platform_register_drivers UPSTREAM: iommu/mediatek: Fix error code in probe() UPSTREAM: iommu/mediatek: Fix unsigned domid comparison with less than zero UPSTREAM: iommu/mediatek: Add mt8192 support UPSTREAM: memory: mtk-smi: Add mt8192 support UPSTREAM: iommu/mediatek: Remove unnecessary check in attach_device UPSTREAM: iommu/mediatek: Support master use iova over 32bit UPSTREAM: iommu/mediatek: Add iova reserved function UPSTREAM: iommu/mediatek: Support for multi domains UPSTREAM: iommu/mediatek: Add get_domain_id from dev->dma_range_map UPSTREAM: iommu/mediatek: Add iova_region structure UPSTREAM: iommu/mediatek: Move geometry.aperture updating into domain_finalise UPSTREAM: iommu/mediatek: Move domain_finalise into attach_device UPSTREAM: iommu/mediatek: Adjust the structure UPSTREAM: iommu/mediatek: Support report iova 34bit translation fault in ISR UPSTREAM: iommu/mediatek: Support up to 34bit iova in tlb flush UPSTREAM: iommu/mediatek: Add power-domain operation UPSTREAM: iommu/mediatek: Add pm runtime callback UPSTREAM: iommu/mediatek: Add device link for smi-common and m4u UPSTREAM: iommu/mediatek: Add error handle for mtk_iommu_probe UPSTREAM: iommu/mediatek: Move hw_init into attach_device UPSTREAM: iommu/mediatek: Update oas for v7s UPSTREAM: iommu/mediatek: Add a flag for iova 34bits case UPSTREAM: iommu/io-pgtable-arm-v7s: Quad lvl1 pgtable for MediaTek UPSTREAM: iommu/io-pgtable-arm-v7s: Add cfg as a param in some macros UPSTREAM: iommu/io-pgtable-arm-v7s: Clarify LVL_SHIFT/BITS macro UPSTREAM: iommu/io-pgtable-arm-v7s: Use ias to check the valid iova in unmap UPSTREAM: iommu/io-pgtable-arm-v7s: Extend PA34 for MediaTek UPSTREAM: iommu/mediatek: Use the common mtk-memory-port.h UPSTREAM: dt-bindings: mediatek: Add binding for mt8192 IOMMU UPSTREAM: dt-bindings: memory: mediatek: Rename header guard for SMI header file UPSTREAM: dt-bindings: memory: mediatek: Extend LARB_NR_MAX to 32 UPSTREAM: dt-bindings: memory: mediatek: Add a common memory header file UPSTREAM: dt-bindings: memory: mediatek: Convert SMI to DT schema UPSTREAM: dt-bindings: iommu: mediatek: Convert IOMMU to DT schema UPSTREAM: iommu/mediatek: Remove the tlb-ops for v7s UPSTREAM: iommu/io-pgtable: Remove TLBI_ON_MAP quirk UPSTREAM: iommu/io-pgtable: Allow io_pgtable_tlb ops optional UPSTREAM: iommu/mediatek: Gather iova in iommu_unmap to achieve tlb sync once UPSTREAM: iommu/mediatek: Add iotlb_sync_map to sync whole the iova range BACKPORT: UPSTREAM: iommu: Add iova and size as parameters in iotlb_sync_map UPSTREAM: iommu/io-pgtable: Remove tlb_flush_leaf ANDROID: abi_gki_aarch64_qcom: Add symbols to allow list ANDROID: Add vendor hook to binder. ANDROID: fs: Add vendor hooks for ep_create_wakeup_source & timerfd_create Revert "FROMLIST: fs/buffer.c: Revoke LRU when trying to drop buffers" ANDROID: enable LLVM_IAS=1 for clang's integrated assembler for arm FROMLIST: ARM: kprobes: rewrite test-arm.c in UAL FROMLIST: ARM: kprobes: fix UNPREDICTABLE warnings UPSTREAM: ARM: efistub: replace adrl pseudo-op with adr_l macro invocation UPSTREAM: ARM: assembler: introduce adr_l, ldr_l and str_l macros UPSTREAM: ARM: 9029/1: Make iwmmxt.S support Clang's integrated assembler FROMGIT: binder: BINDER_GET_FROZEN_INFO ioctl FROMGIT: binder: use EINTR for interrupted wait for work BACKPORT: FROMGIT: binder: BINDER_FREEZE ioctl ANDROID: qcom: Add pci_dev_present to ABI ANDROID: GKI: Add sysfs_emit to symbol list ANDROID: gki_defconfig: Enable IFB, NET_SCH_TBF, NET_ACT_POLICE ANDROID: gki_defconfig: Enable USB_NET_CDC_NCM ANDROID: gki_defconfig: Enable USB_NET_AQC111 UPSTREAM: usb: dwc3: gadget: Use max speed if unspecified UPSTREAM: usb: dwc3: gadget: Set gadget_max_speed when set ssp_rate ANDROID: freezer: export the freezer_cgrp_subsys for GKI purpose. UPSTREAM: usb: dwc3: qcom: skip interconnect init for ACPI probe FROMGIT: usb: dwc3: gadget: Ignore EP queue requests during bus reset FROMGIT: usb: dwc3: gadget: Avoid continuing preparing TRBs during teardown ANDROID: gpiolib: Add vendor hook for gpio read ANDROID: abi_gki_aarch64_qcom: Whitelist sched_setattr ANDROID: GKI: sched: add Android ABI padding to some structures ANDROID: GKI: mm: add Android ABI padding to some structures ANDROID: GKI: mount.h: add Android ABI padding to some structures FROMLIST: mm: fs: Invalidate BH LRU during page migration FROMLIST: mm: replace migrate_[prep|finish] with lru_cache_[disable|enable] BACKPORT: FROMLIST: mm: disable LRU pagevec during the migration temporarily Revert "FROMLIST: mm: replace migrate_prep with lru_add_drain_all" Revert "BACKPORT: FROMLIST: mm: disable LRU pagevec during the migration temporarily" Revert "FROMLIST: mm: fs: Invalidate BH LRU during page migration" ANDROID: vendor_hooks: Add hooks for account process tick ANDROID: usb: dwc3: gadget: Export dwc3_stop_active_transfer, dwc3_send_gadget_ep_cmd ANDROID: clang: update to 12.0.4 ANDROID: vendor_hooks: Add hooks for improving binder trans ANDROID: GKI: Disable DTPM CPU device UPSTREAM: powercap/drivers/dtpm: Add the experimental label to the option description UPSTREAM: powercap/drivers/dtpm: Fix root node initialization ANDROID: GKI: sched.h: add Android ABI padding to some structures ANDROID: GKI: module.h: add Android ABI padding to some structures ANDROID: GKI: sock.h: add Android ABI padding to some structures ANDROID: sched/fair: Do not sync task util with SD_BALANCE_FORK FROMGIT: selinux: vsock: Set SID for socket returned by accept() ANDROID: usb: typec: tcpci: Migrate restricted vendor hook ANDROID: qcom: Add is_dma_buf_file to ABI ANDROID: GKI: update .xml file ANDROID: GKI: enable KFENCE by setting the sample interval to 500ms ANDROID: abi_gki_aarch64_qcom: Add xhci symbols to list ANDROID: vmlinux.lds.h: Define SANITIZER_DISCARDS with CONFIG_CFI_CLANG ANDROID: usb: typec: tcpci: Add vendor hook to mask vbus present ANDROID: usb: typce: tcpci: Add vendor hook for chip specific features ANDROID: usb: typec: tcpci: Add vendor hooks for tcpci interface FROMGIT: f2fs: add sysfs nodes to get runtime compression stat ANDROID: dma-buf: Fix error path on system heaps use of the page pool ANDROID: usb: typec: tcpm: Fix event storm caused by error in backport ANDROID: GKI: USB: XHCI: add Android ABI padding to lots of xhci structures FROMGIT: KVM: arm64: Fix host's ZCR_EL2 restore on nVHE FROMGIT: KVM: arm64: Force SCTLR_EL2.WXN when running nVHE FROMGIT: KVM: arm64: Turn SCTLR_ELx_FLAGS into INIT_SCTLR_EL2_MMU_ON FROMGIT: KVM: arm64: Use INIT_SCTLR_EL2_MMU_OFF to disable the MMU on KVM teardown FROMGIT: arm64: Use INIT_SCTLR_EL1_MMU_OFF to disable the MMU on CPU restart FROMGIT: KVM: arm64: Enable SVE support for nVHE FROMGIT: KVM: arm64: Save/restore SVE state for nVHE BACKPORT: FROMGIT: KVM: arm64: Trap host SVE accesses when the FPSIMD state is dirty FROMGIT: KVM: arm64: Save guest's ZCR_EL1 before saving the FPSIMD state FROMGIT: KVM: arm64: Map SVE context at EL2 when available BACKPORT: FROMGIT: KVM: arm64: Rework SVE host-save/guest-restore FROMGIT: arm64: sve: Provide a conditional update accessor for ZCR_ELx FROMGIT: KVM: arm64: Introduce vcpu_sve_vq() helper FROMGIT: KVM: arm64: Let vcpu_sve_pffr() handle HYP VAs FROMGIT: KVM: arm64: Use {read,write}_sysreg_el1 to access ZCR_EL1 FROMGIT: KVM: arm64: Provide KVM's own save/restore SVE primitives ANDROID: GKI: USB: Gadget: add Android ABI padding to struct usb_gadget ANDROID: vendor_hooks: Add hooks for memory when debug ANDROID: vendor_hooks: Add hooks for ufs scheduler ANDROID: GKI: sound/usb/card.h: add Android ABI padding to struct snd_usb_endpoint ANDROID: GKI: user_namespace.h: add Android ABI padding to a structure ANDROID: GKI: timer.h: add Android ABI padding to a structure ANDROID: GKI: quota.h: add Android ABI padding to some structures ANDROID: GKI: mmu_notifier.h: add Android ABI padding to some structures ANDROID: GKI: mm.h: add Android ABI padding to a structure ANDROID: GKI: kobject.h: add Android ABI padding to some structures ANDROID: GKI: kernfs.h: add Android ABI padding to some structures ANDROID: GKI: irqdomain.h: add Android ABI padding to a structure ANDROID: GKI: ioport.h: add Android ABI padding to a structure ANDROID: GKI: iomap.h: add Android ABI padding to a structure ANDROID: GKI: hrtimer.h: add Android ABI padding to a structure ANDROID: GKI: genhd.h: add Android ABI padding to some structures ANDROID: GKI: ethtool.h: add Android ABI padding to a structure ANDROID: GKI: dma-mapping.h: add Android ABI padding to a structure ANDROID: GKI: networking: add Android ABI padding to a lot of networking structures ANDROID: GKI: blk_types.h: add Android ABI padding to a structure ANDROID: GKI: scsi.h: add Android ABI padding to a structure ANDROID: GKI: pci: add Android ABI padding to some structures ANDROID: GKI: add Android ABI padding to struct nf_conn Conflicts: Documentation/devicetree/bindings include/linux/usb/gadget.h Change-Id: Id08dc5a5299b4a780553a44a402d18e9b5b096cb Signed-off-by: Ivaylo Georgiev <irgeorgiev@codeaurora.org> |
||
Andrey Konovalov
|
7186ac0c43 |
FROMGIT: kasan: init memory in kasan_(un)poison for HW_TAGS
This change adds an argument to kasan_poison() and kasan_unpoison() that allows initializing memory along with setting the tags for HW_TAGS. Combining setting allocation tags with memory initialization will improve HW_TAGS KASAN performance when init_on_alloc/free is enabled. This change doesn't integrate memory initialization with KASAN, this is done is subsequent patches in this series. Link: https://lkml.kernel.org/r/3054314039fa64510947e674180d675cab1b4c41.1615296150.git.andreyknvl@google.com Signed-off-by: Andrey Konovalov <andreyknvl@google.com> Reviewed-by: Marco Elver <elver@google.com> Cc: Alexander Potapenko <glider@google.com> Cc: Andrey Ryabinin <aryabinin@virtuozzo.com> Cc: Branislav Rankov <Branislav.Rankov@arm.com> Cc: Catalin Marinas <catalin.marinas@arm.com> Cc: Christoph Lameter <cl@linux.com> Cc: David Rientjes <rientjes@google.com> Cc: Dmitry Vyukov <dvyukov@google.com> Cc: Evgenii Stepanov <eugenis@google.com> Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com> Cc: Kevin Brodsky <kevin.brodsky@arm.com> Cc: Pekka Enberg <penberg@kernel.org> Cc: Peter Collingbourne <pcc@google.com> Cc: Vincenzo Frascino <vincenzo.frascino@arm.com> Cc: Vlastimil Babka <vbabka@suse.cz> Cc: Will Deacon <will.deacon@arm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> (cherry picked from commit b5feba92b2290c2216281d2863891d587d131d06 https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git akpm) Bug: 182930667 Signed-off-by: Alexander Potapenko <glider@google.com> Change-Id: Ie28bfd789f67a02901c2dd42b115a1c24d89e9da |
||
Walter Wu
|
86a1ff2750 |
BACKPORT: kasan: remove redundant config option
CONFIG_KASAN_STACK and CONFIG_KASAN_STACK_ENABLE both enable KASAN stack instrumentation, but we should only need one config, so that we remove CONFIG_KASAN_STACK_ENABLE and make CONFIG_KASAN_STACK workable. see [1]. When enable KASAN stack instrumentation, then for gcc we could do no prompt and default value y, and for clang prompt and default value n. [1]: https://bugzilla.kernel.org/show_bug.cgi?id=210221 Link: https://lkml.kernel.org/r/20210226012531.29231-1-walter-zh.wu@mediatek.com Signed-off-by: Walter Wu <walter-zh.wu@mediatek.com> Suggested-by: Dmitry Vyukov <dvyukov@google.com> Reviewed-by: Nathan Chancellor <natechancellor@gmail.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Reviewed-by: Andrey Konovalov <andreyknvl@google.com> Cc: Andrey Ryabinin <ryabinin.a.a@gmail.com> Cc: Dmitry Vyukov <dvyukov@google.com> Cc: Alexander Potapenko <glider@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> (cherry picked from commit 3bc29a8e251a9469ce69e62118d70eaf0caa5acb https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git akpm) (cherry picked from commit 0d9e60b66271414a18a1d4f1fe2c923245f1e3a8 https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git akpm) [glider: resolved a minor merge conflict, squashed two patches together] Bug: 182930667 Signed-off-by: Alexander Potapenko <glider@google.com> Change-Id: I1b3d2cdcf45727a25d36ac7f417a4f026152d6a8 |
||
Andrey Konovalov
|
cfcec8bc2a |
FROMGIT: kasan: fix KASAN_STACK dependency for HW_TAGS
There's a runtime failure when running HW_TAGS-enabled kernel built with GCC on hardware that doesn't support MTE. GCC-built kernels always have CONFIG_KASAN_STACK enabled, even though stack instrumentation isn't supported by HW_TAGS. Having that config enabled causes KASAN to issue MTE-only instructions to unpoison kernel stacks, which causes the failure. Fix the issue by disallowing CONFIG_KASAN_STACK when HW_TAGS is used. (The commit that introduced CONFIG_KASAN_HW_TAGS specified proper dependency for CONFIG_KASAN_STACK_ENABLE but not for CONFIG_KASAN_STACK.) Link: https://lkml.kernel.org/r/59e75426241dbb5611277758c8d4d6f5f9298dac.1615215441.git.andreyknvl@google.com Fixes: 6a63a63ff1ac ("kasan: introduce CONFIG_KASAN_HW_TAGS") Signed-off-by: Andrey Konovalov <andreyknvl@google.com> Reported-by: Catalin Marinas <catalin.marinas@arm.com> Cc: <stable@vger.kernel.org> Cc: Will Deacon <will.deacon@arm.com> Cc: Vincenzo Frascino <vincenzo.frascino@arm.com> Cc: Dmitry Vyukov <dvyukov@google.com> Cc: Andrey Ryabinin <aryabinin@virtuozzo.com> Cc: Alexander Potapenko <glider@google.com> Cc: Marco Elver <elver@google.com> Cc: Peter Collingbourne <pcc@google.com> Cc: Evgenii Stepanov <eugenis@google.com> Cc: Branislav Rankov <Branislav.Rankov@arm.com> Cc: Kevin Brodsky <kevin.brodsky@arm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> (cherry picked from commit d9b571c885a8974fbb7d4ee639dbc643fd000f9e https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git akpm) Bug: 182930667 Signed-off-by: Alexander Potapenko <glider@google.com> Change-Id: I35c6446be4c7193007c1b96eeddaab3923500c61 |
||
Greg Kroah-Hartman
|
e8f79d9cbb |
Merge branch 'android12-5.10' into branch 'android12-5.10-lts'
Sync up with the android12-5.10 branch for the following commit: |
||
Greg Kroah-Hartman
|
3ccfc59f82 |
This is the 5.10.24 stable release
-----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEZH8oZUiU471FcZm+ONu9yGCSaT4FAmBSKS0ACgkQONu9yGCS aT7Ngg//c4C1WnWC0sNWzP3xT2paCkLnUUyjQTmrkbPvLtr2DvehW5Bvp/32pGiS 8mDMoTLq3QxNrfrU6SY3KavZRC9Pa+migAsVmuujygQwNphqv95/XxnFemFEAYTl b8b5OJPyomzMMEwHzx1Tr+7/d58czrqXo97QI0lmaDlHl+9JKTg2SMX9AkHkU8pK zYjbtzdhd9UZCTdVYY1ZFkQ1ik1iAWo3Xv0G2aMeQQpuGcZIh/Y66xBuyH+8g+Yz 3mInhPQvhkb+c+m4ZJ9NhOUVEW4Fl0fq0mVrrYkfHqXe0D36Vj/yYvO/yTSBqb4+ XQ5PLXX3KFVDFl1id94unXGgP3c0zBe30JZPqKdpSET+PzOlGiZTxMCfjPeTgu/Z 7xc2qSX1zn273HMTRrT1daO4/NXQ85kE04mZMzq7cqDpum7ltfKrEMum/Gma+dJz Knn47oZHbSW4Er/WcAwHSeZpxvD7AahG/GlsQRy+IVPu/jMXJHmo2/Nv1fLJWp+G 7VVWRXug69hywGr7hFiT3USG2C5g5cV3/dEO8NFFjGKRa5CbLbQD6B3+Dz3dXyBH jE3MGIoqoNk+SvJOAf2ogu7SS6wLynZWOchmAVvIQ4QEzcP2jroeFHKD49MYxDUE dKcq0dtfMc4nUaUZ/XRfWtS9fSm+T4XonmvEY4yXnAyfZ0aeEM8= =FdFm -----END PGP SIGNATURE----- Merge 5.10.24 into android12-5.10-lts Changes in 5.10.24 uapi: nfnetlink_cthelper.h: fix userspace compilation error powerpc/perf: Fix handling of privilege level checks in perf interrupt context powerpc/pseries: Don't enforce MSI affinity with kdump ethernet: alx: fix order of calls on resume crypto: mips/poly1305 - enable for all MIPS processors ath9k: fix transmitting to stations in dynamic SMPS mode net: Fix gro aggregation for udp encaps with zero csum net: check if protocol extracted by virtio_net_hdr_set_proto is correct net: avoid infinite loop in mpls_gso_segment when mpls_hlen == 0 net: l2tp: reduce log level of messages in receive path, add counter instead can: skb: can_skb_set_owner(): fix ref counting if socket was closed before setting skb ownership can: flexcan: assert FRZ bit in flexcan_chip_freeze() can: flexcan: enable RX FIFO after FRZ/HALT valid can: flexcan: invoke flexcan_chip_freeze() to enter freeze mode can: tcan4x5x: tcan4x5x_init(): fix initialization - clear MRAM before entering Normal Mode tcp: Fix sign comparison bug in getsockopt(TCP_ZEROCOPY_RECEIVE) tcp: add sanity tests to TCP_QUEUE_SEQ netfilter: nf_nat: undo erroneous tcp edemux lookup netfilter: x_tables: gpf inside xt_find_revision() net: always use icmp{,v6}_ndo_send from ndo_start_xmit net: phy: fix save wrong speed and duplex problem if autoneg is on selftests/bpf: Use the last page in test_snprintf_btf on s390 selftests/bpf: No need to drop the packet when there is no geneve opt selftests/bpf: Mask bpf_csum_diff() return value to 16 bits in test_verifier samples, bpf: Add missing munmap in xdpsock libbpf: Clear map_info before each bpf_obj_get_info_by_fd ibmvnic: Fix possibly uninitialized old_num_tx_queues variable warning. ibmvnic: always store valid MAC address mt76: dma: do not report truncated frames to mac80211 powerpc/603: Fix protection of user pages mapped with PROT_NONE mount: fix mounting of detached mounts onto targets that reside on shared mounts cifs: return proper error code in statfs(2) Revert "mm, slub: consider rest of partial list if acquire_slab() fails" docs: networking: drop special stable handling net: dsa: tag_rtl4_a: fix egress tags sh_eth: fix TRSCER mask for SH771x net: enetc: don't overwrite the RSS indirection table when initializing net: enetc: take the MDIO lock only once per NAPI poll cycle net: enetc: fix incorrect TPID when receiving 802.1ad tagged packets net: enetc: don't disable VLAN filtering in IFF_PROMISC mode net: enetc: force the RGMII speed and duplex instead of operating in inband mode net: enetc: remove bogus write to SIRXIDR from enetc_setup_rxbdr net: enetc: keep RX ring consumer index in sync with hardware net: ethernet: mtk-star-emac: fix wrong unmap in RX handling net/mlx4_en: update moderation when config reset net: stmmac: fix incorrect DMA channel intr enable setting of EQoS v4.10 nexthop: Do not flush blackhole nexthops when loopback goes down net: sched: avoid duplicates in classes dump net: mscc: ocelot: properly reject destination IP keys in VCAP IS1 net: dsa: sja1105: fix SGMII PCS being forced to SPEED_UNKNOWN instead of SPEED_10 net: usb: qmi_wwan: allow qmimux add/del with master up netdevsim: init u64 stats for 32bit hardware cipso,calipso: resolve a number of problems with the DOI refcounts net: stmmac: Fix VLAN filter delete timeout issue in Intel mGBE SGMII stmmac: intel: Fixes clock registration error seen for multiple interfaces net: lapbether: Remove netif_start_queue / netif_stop_queue net: davicom: Fix regulator not turned off on failed probe net: davicom: Fix regulator not turned off on driver removal net: enetc: allow hardware timestamping on TX queues with tc-etf enabled net: qrtr: fix error return code of qrtr_sendmsg() s390/qeth: fix memory leak after failed TX Buffer allocation r8169: fix r8168fp_adjust_ocp_cmd function ixgbe: fail to create xfrm offload of IPsec tunnel mode SA tools/resolve_btfids: Fix build error with older host toolchains perf build: Fix ccache usage in $(CC) when generating arch errno table net: stmmac: stop each tx channel independently net: stmmac: fix watchdog timeout during suspend/resume stress test net: stmmac: fix wrongly set buffer2 valid when sph unsupport ethtool: fix the check logic of at least one channel for RX/TX net: phy: make mdio_bus_phy_suspend/resume as __maybe_unused selftests: forwarding: Fix race condition in mirror installation mlxsw: spectrum_ethtool: Add an external speed to PTYS register perf traceevent: Ensure read cmdlines are null terminated. perf report: Fix -F for branch & mem modes net: hns3: fix query vlan mask value error for flow director net: hns3: fix bug when calculating the TCAM table info s390/cio: return -EFAULT if copy_to_user() fails again bnxt_en: reliably allocate IRQ table on reset to avoid crash gpiolib: acpi: Add ACPI_GPIO_QUIRK_ABSOLUTE_NUMBER quirk gpiolib: acpi: Allow to find GpioInt() resource by name and index gpio: pca953x: Set IRQ type when handle Intel Galileo Gen 2 gpio: fix gpio-device list corruption drm/compat: Clear bounce structures drm/amd/display: Add a backlight module option drm/amdgpu/display: use GFP_ATOMIC in dcn21_validate_bandwidth_fp() drm/amd/display: Fix nested FPU context in dcn21_validate_bandwidth() drm/amd/pm: bug fix for pcie dpm drm/amdgpu/display: simplify backlight setting drm/amdgpu/display: don't assert in set backlight function drm/amdgpu/display: handle aux backlight in backlight_get_brightness drm/shmem-helper: Check for purged buffers in fault handler drm/shmem-helper: Don't remove the offset in vm_area_struct pgoff drm: Use USB controller's DMA mask when importing dmabufs drm: meson_drv add shutdown function drm/shmem-helpers: vunmap: Don't put pages for dma-buf drm/i915: Wedge the GPU if command parser setup fails s390/cio: return -EFAULT if copy_to_user() fails s390/crypto: return -EFAULT if copy_to_user() fails qxl: Fix uninitialised struct field head.surface_id sh_eth: fix TRSCER mask for R7S9210 media: usbtv: Fix deadlock on suspend media: rkisp1: params: fix wrong bits settings media: v4l: vsp1: Fix uif null pointer access media: v4l: vsp1: Fix bru null pointer access media: rc: compile rc-cec.c into rc-core cifs: fix credit accounting for extra channel net: hns3: fix error mask definition of flow director s390/qeth: don't replace a fully completed async TX buffer s390/qeth: remove QETH_QDIO_BUF_HANDLED_DELAYED state s390/qeth: improve completion of pending TX buffers s390/qeth: fix notification for pending buffers during teardown net: dsa: implement a central TX reallocation procedure net: dsa: tag_ksz: don't allocate additional memory for padding/tagging net: dsa: trailer: don't allocate additional memory for padding/tagging net: dsa: tag_qca: let DSA core deal with TX reallocation net: dsa: tag_ocelot: let DSA core deal with TX reallocation net: dsa: tag_mtk: let DSA core deal with TX reallocation net: dsa: tag_lan9303: let DSA core deal with TX reallocation net: dsa: tag_edsa: let DSA core deal with TX reallocation net: dsa: tag_brcm: let DSA core deal with TX reallocation net: dsa: tag_dsa: let DSA core deal with TX reallocation net: dsa: tag_gswip: let DSA core deal with TX reallocation net: dsa: tag_ar9331: let DSA core deal with TX reallocation net: dsa: tag_mtk: fix 802.1ad VLAN egress enetc: Fix unused var build warning for CONFIG_OF net: enetc: initialize RFS/RSS memories for unused ports too ath11k: peer delete synchronization with firmware ath11k: start vdev if a bss peer is already created ath11k: fix AP mode for QCA6390 i2c: rcar: faster irq code to minimize HW race condition i2c: rcar: optimize cacheline to minimize HW race condition scsi: ufs: WB is only available on LUN #0 to #7 udf: fix silent AED tagLocation corruption iommu/vt-d: Clear PRQ overflow only when PRQ is empty mmc: mxs-mmc: Fix a resource leak in an error handling path in 'mxs_mmc_probe()' mmc: mediatek: fix race condition between msdc_request_timeout and irq mmc: sdhci-iproc: Add ACPI bindings for the RPi Platform: OLPC: Fix probe error handling powerpc/pci: Add ppc_md.discover_phbs() spi: stm32: make spurious and overrun interrupts visible powerpc: improve handling of unrecoverable system reset powerpc/perf: Record counter overflow always if SAMPLE_IP is unset HID: logitech-dj: add support for the new lightspeed connection iteration powerpc/64: Fix stack trace not displaying final frame iommu/amd: Fix performance counter initialization clk: qcom: gdsc: Implement NO_RET_PERIPH flag sparc32: Limit memblock allocation to low memory sparc64: Use arch_validate_flags() to validate ADI flag Input: applespi - don't wait for responses to commands indefinitely. PCI: xgene-msi: Fix race in installing chained irq handler PCI: mediatek: Add missing of_node_put() to fix reference leak drivers/base: build kunit tests without structleak plugin PCI/LINK: Remove bandwidth notification ext4: don't try to processed freed blocks until mballoc is initialized kbuild: clamp SUBLEVEL to 255 PCI: Fix pci_register_io_range() memory leak i40e: Fix memory leak in i40e_probe kasan: fix memory corruption in kasan_bitops_tags test s390/smp: __smp_rescan_cpus() - move cpumask away from stack drivers/base/memory: don't store phys_device in memory blocks sysctl.c: fix underflow value setting risk in vm_table scsi: libiscsi: Fix iscsi_prep_scsi_cmd_pdu() error handling scsi: target: core: Add cmd length set before cmd complete scsi: target: core: Prevent underflow for service actions clk: qcom: gpucc-msm8998: Add resets, cxc, fix flags on gpu_gx_gdsc mmc: sdhci: Update firmware interface API ARM: 9029/1: Make iwmmxt.S support Clang's integrated assembler ARM: assembler: introduce adr_l, ldr_l and str_l macros ARM: efistub: replace adrl pseudo-op with adr_l macro invocation ALSA: usb: Add Plantronics C320-M USB ctrl msg delay quirk ALSA: hda/hdmi: Cancel pending works before suspend ALSA: hda/conexant: Add quirk for mute LED control on HP ZBook G5 ALSA: hda/ca0132: Add Sound BlasterX AE-5 Plus support ALSA: hda: Drop the BATCH workaround for AMD controllers ALSA: hda: Flush pending unsolicited events before suspend ALSA: hda: Avoid spurious unsol event handling during S3/S4 ALSA: usb-audio: Fix "cannot get freq eq" errors on Dell AE515 sound bar ALSA: usb-audio: Apply the control quirk to Plantronics headsets ALSA: usb-audio: Disable USB autosuspend properly in setup_disable_autosuspend() ALSA: usb-audio: fix NULL ptr dereference in usb_audio_probe ALSA: usb-audio: fix use after free in usb_audio_disconnect Revert 95ebabde382c ("capabilities: Don't allow writing ambiguous v3 file capabilities") block: Discard page cache of zone reset target range block: Try to handle busy underlying device on discard arm64: kasan: fix page_alloc tagging with DEBUG_VIRTUAL arm64: mte: Map hotplugged memory as Normal Tagged arm64: perf: Fix 64-bit event counter read truncation s390/dasd: fix hanging DASD driver unbind s390/dasd: fix hanging IO request during DASD driver unbind software node: Fix node registration xen/events: reset affinity of 2-level event when tearing it down mmc: mmci: Add MMC_CAP_NEED_RSP_BUSY for the stm32 variants mmc: core: Fix partition switch time for eMMC mmc: cqhci: Fix random crash when remove mmc module/card cifs: do not send close in compound create+close requests Goodix Fingerprint device is not a modem USB: gadget: udc: s3c2410_udc: fix return value check in s3c2410_udc_probe() USB: gadget: u_ether: Fix a configfs return code usb: gadget: f_uac2: always increase endpoint max_packet_size by one audio slot usb: gadget: f_uac1: stop playback on function disable usb: dwc3: qcom: Add missing DWC3 OF node refcount decrement usb: dwc3: qcom: add URS Host support for sdm845 ACPI boot usb: dwc3: qcom: add ACPI device id for sc8180x usb: dwc3: qcom: Honor wakeup enabled/disabled state USB: usblp: fix a hang in poll() if disconnected usb: renesas_usbhs: Clear PIPECFG for re-enabling pipe with other EPNUM usb: xhci: do not perform Soft Retry for some xHCI hosts xhci: Improve detection of device initiated wake signal. usb: xhci: Fix ASMedia ASM1042A and ASM3242 DMA addressing xhci: Fix repeated xhci wake after suspend due to uncleared internal wake state USB: serial: io_edgeport: fix memory leak in edge_startup USB: serial: ch341: add new Product ID USB: serial: cp210x: add ID for Acuity Brands nLight Air Adapter USB: serial: cp210x: add some more GE USB IDs usbip: fix stub_dev to check for stream socket usbip: fix vhci_hcd to check for stream socket usbip: fix vudc to check for stream socket usbip: fix stub_dev usbip_sockfd_store() races leading to gpf usbip: fix vhci_hcd attach_store() races leading to gpf usbip: fix vudc usbip_sockfd_store races leading to gpf Revert "serial: max310x: rework RX interrupt handling" misc/pvpanic: Export module FDT device table misc: fastrpc: restrict user apps from sending kernel RPC messages staging: rtl8192u: fix ->ssid overflow in r8192_wx_set_scan() staging: rtl8188eu: prevent ->ssid overflow in rtw_wx_set_scan() staging: rtl8712: unterminated string leads to read overflow staging: rtl8188eu: fix potential memory corruption in rtw_check_beacon_data() staging: ks7010: prevent buffer overflow in ks_wlan_set_scan() staging: rtl8712: Fix possible buffer overflow in r8712_sitesurvey_cmd staging: rtl8192e: Fix possible buffer overflow in _rtl92e_wx_set_scan staging: comedi: addi_apci_1032: Fix endian problem for COS sample staging: comedi: addi_apci_1500: Fix endian problem for command sample staging: comedi: adv_pci1710: Fix endian problem for AI command data staging: comedi: das6402: Fix endian problem for AI command data staging: comedi: das800: Fix endian problem for AI command data staging: comedi: dmm32at: Fix endian problem for AI command data staging: comedi: me4000: Fix endian problem for AI command data staging: comedi: pcl711: Fix endian problem for AI command data staging: comedi: pcl818: Fix endian problem for AI command data sh_eth: fix TRSCER mask for R7S72100 cpufreq: qcom-hw: fix dereferencing freed memory 'data' cpufreq: qcom-hw: Fix return value check in qcom_cpufreq_hw_cpu_init() arm64/mm: Fix pfn_valid() for ZONE_DEVICE based memory SUNRPC: Set memalloc_nofs_save() for sync tasks NFS: Don't revalidate the directory permissions on a lookup failure NFS: Don't gratuitously clear the inode cache when lookup failed NFSv4.2: fix return value of _nfs4_get_security_label() block: rsxx: fix error return code of rsxx_pci_probe() nvme-fc: fix racing controller reset and create association configfs: fix a use-after-free in __configfs_open_file arm64: mm: use a 48-bit ID map when possible on 52-bit VA builds perf/core: Flush PMU internal buffers for per-CPU events perf/x86/intel: Set PERF_ATTACH_SCHED_CB for large PEBS and LBR hrtimer: Update softirq_expires_next correctly after __hrtimer_get_next_event() powerpc/64s/exception: Clean up a missed SRR specifier seqlock,lockdep: Fix seqcount_latch_init() stop_machine: mark helpers __always_inline include/linux/sched/mm.h: use rcu_dereference in in_vfork() zram: fix return value on writeback_store linux/compiler-clang.h: define HAVE_BUILTIN_BSWAP* sched/membarrier: fix missing local execution of ipi_sync_rq_state() efi: stub: omit SetVirtualAddressMap() if marked unsupported in RT_PROP table powerpc/64s: Fix instruction encoding for lis in ppc_function_entry() powerpc: Fix inverted SET_FULL_REGS bitop powerpc: Fix missing declaration of [en/dis]able_kernel_vsx() binfmt_misc: fix possible deadlock in bm_register_write x86/unwind/orc: Disable KASAN checking in the ORC unwinder, part 2 x86/sev-es: Introduce ip_within_syscall_gap() helper x86/sev-es: Check regs->sp is trusted before adjusting #VC IST stack x86/entry: Move nmi entry/exit into common code x86/sev-es: Correctly track IRQ states in runtime #VC handler x86/sev-es: Use __copy_from_user_inatomic() x86/entry: Fix entry/exit mismatch on failed fast 32-bit syscalls KVM: x86: Ensure deadline timer has truly expired before posting its IRQ KVM: kvmclock: Fix vCPUs > 64 can't be online/hotpluged KVM: arm64: Fix range alignment when walking page tables KVM: arm64: Avoid corrupting vCPU context register in guest exit KVM: arm64: nvhe: Save the SPE context early KVM: arm64: Reject VM creation when the default IPA size is unsupported KVM: arm64: Fix exclusive limit for IPA size mm/userfaultfd: fix memory corruption due to writeprotect mm/madvise: replace ptrace attach requirement for process_madvise KVM: arm64: Ensure I-cache isolation between vcpus of a same VM mm/page_alloc.c: refactor initialization of struct page for holes in memory layout xen/events: don't unmask an event channel when an eoi is pending xen/events: avoid handling the same event on two cpus at the same time KVM: arm64: Fix nVHE hyp panic host context restore RDMA/umem: Use ib_dma_max_seg_size instead of dma_get_max_seg_size Linux 5.10.24 Signed-off-by: Greg Kroah-Hartman <gregkh@google.com> Change-Id: Ie53a3c1963066a18d41357b6be41cff00690bd40 |
||
Liujie Xie
|
24149445ad |
ANDROID: vendor_hooks: Add hooks for memory when debug
Add vendors hooks for recording memory used Bug: 182443489 Signed-off-by: Liujie Xie <xieliujie@oppo.com> Change-Id: I62d8bb2b6650d8b187b433f97eb833ef0b784df1 |
||
Blagovest Kolenichev
|
d82a67cbef |
Merge android12-5.10.21+ (8cf9478 ) into msm-5.10
* refs/heads/tmp-8cf9478:
Revert "ANDROID: GKI: Enable bounds sanitizer"
ANDROID: GKI: temporarily disable LTO/CFI
ANDROID: Revert "f2fs: fix to tag FIEMAP_EXTENT_MERGED in f2fs_fiemap()"
FROMLIST: KVM: arm64: Disable FWB in host stage-2
FROMLIST: KVM: arm64: Introduce KVM_PGTABLE_S2_NOFWB Stage-2 flag
FROMLIST: KVM: arm64: Protect the .hyp sections from the host
FROMLIST: KVM: arm64: Disable PMU support in protected mode
FROMLIST: KVM: arm64: Page-align the .hyp sections
FROMLIST: KVM: arm64: Wrap the host with a stage 2
FROMLIST: KVM: arm64: Provide sanitized mmfr* registers at EL2
FROMLIST: KVM: arm64: Add kvm_pgtable_stage2_find_range()
FROMLIST: KVM: arm64: Refactor the *_map_set_prot_attr() helpers
FROMLIST: KVM: arm64: Use page-table to track page ownership
FROMLIST: KVM: arm64: Always zero invalid PTEs
FROMLIST: KVM: arm64: Sort the hypervisor memblocks
FROMLIST: KVM: arm64: Reserve memory for host stage 2
FROMLIST: KVM: arm64: Make memcache anonymous in pgtable allocator
FROMLIST: KVM: arm64: Refactor __populate_fault_info()
FROMLIST: KVM: arm64: Refactor __load_guest_stage2()
FROMLIST: KVM: arm64: Refactor kvm_arm_setup_stage2()
FROMLIST: KVM: arm64: Set host stage 2 using kvm_nvhe_init_params
FROMLIST: KVM: arm64: Use kvm_arch in kvm_s2_mmu
FROMLIST: KVM: arm64: Use kvm_arch for stage 2 pgtable
FROMLIST: KVM: arm64: Elevate hypervisor mappings creation at EL2
FROMLIST: KVM: arm64: Prepare the creation of s1 mappings at EL2
FROMLIST: arm64: asm: Provide set_sctlr_el2 macro
FROMLIST: KVM: arm64: Factor out vector address calculation
FROMLIST: KVM: arm64: Provide __flush_dcache_area at EL2
FROMLIST: KVM: arm64: Enable access to sanitized CPU features at EL2
FROMLIST: KVM: arm64: Introduce a Hyp buddy page allocator
FROMLIST: KVM: arm64: Stub CONFIG_DEBUG_LIST at Hyp
FROMLIST: KVM: arm64: Introduce an early Hyp page allocator
FROMLIST: KVM: arm64: Allow using kvm_nvhe_sym() in hyp code
FROMLIST: KVM: arm64: Make kvm_call_hyp() a function call at Hyp
FROMLIST: KVM: arm64: Introduce a BSS section for use at Hyp
FROMLIST: KVM: arm64: Factor memory allocation out of pgtable.c
FROMLIST: KVM: arm64: Avoid free_page() in page-table allocator
FROMLIST: KVM: arm64: Initialize kvm_nvhe_init_params early
FROMLIST: arm64: kvm: Add standalone ticket spinlock implementation for use at hyp
FROMLIST: KVM: arm64: Link position-independent string routines into .hyp.text
FROMLIST: arm64: lib: Annotate {clear, copy}_page() as position-independent
Revert "ANDROID: sched: cpufreq_schedutil: add sugov tracepoints"
ANDROID: Partial revert of
|
||
Andrey Konovalov
|
219fc4b300 |
kasan: fix memory corruption in kasan_bitops_tags test
[ Upstream commit e66e1799a76621003e5b04c9c057826a2152e103 ] Since the hardware tag-based KASAN mode might not have a redzone that comes after an allocated object (when kasan.mode=prod is enabled), the kasan_bitops_tags() test ends up corrupting the next object in memory. Change the test so it always accesses the redzone that lies within the allocated object's boundaries. Link: https://linux-review.googlesource.com/id/I67f51d1ee48f0a8d0fe2658c2a39e4879fe0832a Link: https://lkml.kernel.org/r/7d452ce4ae35bb1988d2c9244dfea56cf2cc9315.1610733117.git.andreyknvl@google.com Signed-off-by: Andrey Konovalov <andreyknvl@google.com> Reviewed-by: Marco Elver <elver@google.com> Reviewed-by: Alexander Potapenko <glider@google.com> Cc: Andrey Ryabinin <aryabinin@virtuozzo.com> Cc: Branislav Rankov <Branislav.Rankov@arm.com> Cc: Catalin Marinas <catalin.marinas@arm.com> Cc: Dmitry Vyukov <dvyukov@google.com> Cc: Evgenii Stepanov <eugenis@google.com> Cc: Kevin Brodsky <kevin.brodsky@arm.com> Cc: Peter Collingbourne <pcc@google.com> Cc: Vincenzo Frascino <vincenzo.frascino@arm.com> Cc: Will Deacon <will.deacon@arm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Sasha Levin <sashal@kernel.org> |