86f9bee9c0b90b2f7661607bfbb30ca52777e3b3
37436 Commits
Author | SHA1 | Message | Date | |
---|---|---|---|---|
![]() |
86f9bee9c0 |
Merge keystone/android12-5.10-keystone-qcom-release.117+ (26604a5 ) into msm-5.10
* refs/heads/tmp-26604a5: UPSTREAM: usb: dwc3: gadget: Avoid duplicate requests to enable Run/Stop UPSTREAM: usb: typec: ucsi: Acknowledge the GET_ERROR_STATUS command completion BACKPORT: scsi: ufs: core: Increase fDeviceInit poll frequency FROMGIT: f2fs: increase the limit for reserve_root FROMGIT: f2fs: complete checkpoints during remount FROMGIT: f2fs: flush pending checkpoints when freezing super BACKPORT: f2fs: don't get FREEZE lock in f2fs_evict_inode in frozen fs BACKPORT: f2fs: introduce F2FS_IPU_HONOR_OPU_WRITE ipu policy Revert "ANDROID: GKI: signal: Export for __lock_task_sighand" BACKPORT: f2fs: invalidate meta pages only for post_read required inode BACKPORT: f2fs: fix to invalidate META_MAPPING before DIO write BACKPORT: f2fs: invalidate META_MAPPING before IPU/DIO write ANDROID: mm: page_pinner: use page_ext_get/put() to work with page_ext FROMLIST: mm: fix use-after free of page_ext after race with memory-offline ANDROID: vendor_hooks:vendor hook for __alloc_pages_slowpath. ANDROID: GKI: rockchip: add symbol netif_set_xps_queue ANDROID: GKI: Update symbol list Revert "ANDROID: vendor_hooks: tune reclaim scan type for specified mem_cgroup" ANDROID: Fix a build warning inside early_memblock_nomap ANDROID: mm/memory_hotplug: Fix error path handling Revert "ANDROID: add for tuning readahead size" Revert "ANDROID: vendor_hooks: Add hooks for mutex" ANDROID: fix execute bit on android/abi_gki_aarch64_asus ANDROID: avoid huge-page not to clear trylock-bit after shrink_page_list. ANDROID: vendor_hooks: Add hooks for oem futex optimization ANDROID: mm: memblock: avoid to create memmap for memblock nomap regions ANDROID: abi_gki_aarch64_qcom: Add android_vh_disable_thermal_cooling_stats ANDROID: thermal: vendor hook to disable thermal cooling stats ANDROID: GKI: Update symbols to symbol list ANDROID: GKI: rockchip: update fragment file ANDROID: GKI: rockchip: Enable symbols bcmdhd-sdio ANDROID: GKI: rockchip: Update symbols for rga driver BACKPORT: cgroup: Fix threadgroup_rwsem <-> cpus_read_lock() deadlock UPSTREAM: cgroup: Elide write-locking threadgroup_rwsem when updating csses on an empty subtree ANDROID: GKI: Update symbol list for transsion ANDROID: vendor_hook: Add hook in __free_pages() ANDROID: vendor_hooks: Add hooks to extend the struct swap_info_struct ANDROID: vendor_hook: Add hook in si_swapinfo() ANDROID: GKI: Update symbols to symbol list ANDROID: Use rq_clock_task without CONFIG_SMP ANDROID: abi_gki_aarch64_qcom: Add skb and scatterlist helpers Revert "ANDROID: vendor_hook: Add hook in si_swapinfo()" Revert "ANDROID: vendor_hooks:vendor hook for pidfd_open" Revert "ANDROID: vendor_hooks: Add hooks to extend the struct swap_info_struct" Revert "ANDROID: vendor_hooks:vendor hook for mmput" ANDROID: GKI: Update symbols to symbol list ANDROID: Guard rq_clock_task_mult with CONFIG_SMP Revert "ANDROID: vendor_hook: Add hook in __free_pages()" Revert "ANDROID: vendor_hooks: Add hooks for binder" ANDROID: vendor_hook: add hooks to protect locking-tsk in cpu scheduler ANDROID: export reclaim_pages ANDROID: vendor_hook: Add hook to not be stuck ro rmap lock in kswapd or direct_reclaim Change-Id: Id29a9448f424508e3b3e82c4f69959fa9da81699 Signed-off-by: Sivasri Kumar, Vanka <quic_svanka@quicinc.com> |
||
![]() |
552c6fcd69 |
Merge remote-tracking branch into HEAD
* keystone/mirror-android12-5.10-2022-09: (52 commits) UPSTREAM: usb: dwc3: gadget: Avoid duplicate requests to enable Run/Stop UPSTREAM: usb: typec: ucsi: Acknowledge the GET_ERROR_STATUS command completion BACKPORT: scsi: ufs: core: Increase fDeviceInit poll frequency FROMGIT: f2fs: increase the limit for reserve_root FROMGIT: f2fs: complete checkpoints during remount FROMGIT: f2fs: flush pending checkpoints when freezing super BACKPORT: f2fs: don't get FREEZE lock in f2fs_evict_inode in frozen fs BACKPORT: f2fs: introduce F2FS_IPU_HONOR_OPU_WRITE ipu policy Revert "ANDROID: GKI: signal: Export for __lock_task_sighand" BACKPORT: f2fs: invalidate meta pages only for post_read required inode BACKPORT: f2fs: fix to invalidate META_MAPPING before DIO write BACKPORT: f2fs: invalidate META_MAPPING before IPU/DIO write ANDROID: mm: page_pinner: use page_ext_get/put() to work with page_ext FROMLIST: mm: fix use-after free of page_ext after race with memory-offline ANDROID: vendor_hooks:vendor hook for __alloc_pages_slowpath. ANDROID: GKI: rockchip: add symbol netif_set_xps_queue ANDROID: GKI: Update symbol list Revert "ANDROID: vendor_hooks: tune reclaim scan type for specified mem_cgroup" ANDROID: Fix a build warning inside early_memblock_nomap ANDROID: mm/memory_hotplug: Fix error path handling ... Change-Id: Ic29e19317a93a2960c7d1632149eded958dcf375 |
||
![]() |
6ef4770b8e |
Merge keystone/android12-5.10-keystone-qcom-release.117+ (8f0aba1 ) into msm-5.10
* refs/heads/tmp-8f0aba1: ANDROID: Update symbol list for mtk ANDROID: GKI: rockchip: Add symbols for crypto ANDROID: GKI: rockchip: Add symbol pci_disable_link_state ANDROID: GKI: rockchip: Add symbols for sound ANDROID: GKI: rockchip: Add symbols for video BACKPORT: f2fs: do not set compression bit if kernel doesn't support UPSTREAM: exfat: improve performance of exfat_free_cluster when using dirsync mount ANDROID: GKI: rockchip: Add symbols for drm dp UPSTREAM: arm64: perf: Support new DT compatibles UPSTREAM: arm64: perf: Simplify registration boilerplate UPSTREAM: arm64: perf: Support Denver and Carmel PMUs UPSTREAM: arm64: perf: add support for Cortex-A78 ANDROID: GKI: rockchip: Update symbol for devfreq ANDROID: GKI: rockchip: Update symbols for drm ANDROID: GKI: Update symbols to symbol list UPSTREAM: ASoC: hdmi-codec: make hdmi_codec_controls static UPSTREAM: ASoC: hdmi-codec: Add a prepare hook UPSTREAM: ASoC: hdmi-codec: Add iec958 controls UPSTREAM: ASoC: hdmi-codec: Rework to support more controls UPSTREAM: ALSA: iec958: Split status creation and fill UPSTREAM: ALSA: doc: Clarify IEC958 controls iface UPSTREAM: ASoC: hdmi-codec: remove unused spk_mask member UPSTREAM: ASoC: hdmi-codec: remove useless initialization UPSTREAM: ASoC: codec: hdmi-codec: Support IEC958 encoded PCM format UPSTREAM: ASoC: hdmi-codec: Fix return value in hdmi_codec_set_jack() UPSTREAM: ASoC: hdmi-codec: Add RX support UPSTREAM: ASoC: hdmi-codec: Get ELD in before reporting plugged event ANDROID: GKI: rockchip: Add symbols for display driver BACKPORT: KVM: x86/mmu: fix NULL pointer dereference on guest INVPCID BACKPORT: io_uring: always grab file table for deferred statx BACKPORT: Bluetooth: L2CAP: Fix use-after-free caused by l2cap_chan_put ANDROID: add two func in mm/memcontrol.c ANDROID: vendor_hooks: protect multi-mapcount pages in kernel ANDROID: vendor_hooks: account page-mapcount FROMGIT: io_uring: Use original task for req identity in io_identity_cow() FROMLIST: binder: fix UAF of ref->proc caused by race condition ANDROID: vendor_hooks: Guard cgroup struct with CONFIG_CGROUPS ANDROID: vendor_hooks: add hooks for remove_vm_area. ANDROID: GKI: allow mm vendor hooks header inclusion from header files ANDROID: Update symbol list of mediatek ANDROID: sched: add vendor hook to PELT multiplier ANDROID: Guard hooks with their CONFIG_ options ANDROID: fix kernelci issue for allnoconfig builds ANDROID: sched: Introducing PELT multiplier FROMGIT: binder: fix redefinition of seq_file attributes ANDROID: GKI: pcie: Fix the broken dw_pcie structure UPSTREAM: PCI: dwc: Support multiple ATU memory regions ANDROID: oplus: Update the ABI xml and symbol list ANDROID: vendor_hooks: add hooks in __alloc_pages_slowpath ANDROID: GKI: Update symbols to symbol list FROMGIT: arm64: fix oops in concurrently setting insn_emulation sysctls FROMGIT: usb: dwc3: core: Do not perform GCTL_CORE_SOFTRESET during bootup ANDROID: vendor_hooks:vendor hook for mmput ANDROID: vendor_hooks:vendor hook for pidfd_open ANDROID: GKI: db845c: Update symbols list and ABI Linux 5.10.117 SUNRPC: Fix fall-through warnings for Clang io_uring: always use original task when preparing req identity usb: gadget: uvc: allow for application to cleanly shutdown usb: gadget: uvc: rename function to be more consistent ping: fix address binding wrt vrf arm[64]/memremap: don't abuse pfn_valid() to ensure presence of linear map net: phy: Fix race condition on link status change SUNRPC: Ensure we flush any closed sockets before xs_xprt_free() SUNRPC: Don't call connect() more than once on a TCP socket SUNRPC: Prevent immediate close+reconnect SUNRPC: Clean up scheduling of autoclose drm/vmwgfx: Initialize drm_mode_fb_cmd2 cgroup/cpuset: Remove cpus_allowed/mems_allowed setup in cpuset_init_smp() net: atlantic: always deep reset on pm op, fixing up my null deref regression i40e: i40e_main: fix a missing check on list iterator drm/nouveau/tegra: Stop using iommu_present() ceph: fix setting of xattrs on async created inodes serial: 8250_mtk: Fix register address for XON/XOFF character serial: 8250_mtk: Fix UART_EFR register address slimbus: qcom: Fix IRQ check in qcom_slim_probe USB: serial: option: add Fibocom MA510 modem USB: serial: option: add Fibocom L610 modem USB: serial: qcserial: add support for Sierra Wireless EM7590 USB: serial: pl2303: add device id for HP LM930 Display usb: typec: tcpci_mt6360: Update for BMC PHY setting usb: typec: tcpci: Don't skip cleanup in .remove() on error usb: cdc-wdm: fix reading stuck on device close tty: n_gsm: fix mux activation issues in gsm_config() tty/serial: digicolor: fix possible null-ptr-deref in digicolor_uart_probe() firmware_loader: use kernel credentials when reading firmware tcp: resalt the secret every 10 seconds net: sfp: Add tx-fault workaround for Huawei MA5671A SFP ONT net: emaclite: Don't advertise 1000BASE-T and do auto negotiation s390: disable -Warray-bounds ASoC: ops: Validate input values in snd_soc_put_volsw_range() ASoC: max98090: Generate notifications on changes for custom control ASoC: max98090: Reject invalid values in custom control put() hwmon: (f71882fg) Fix negative temperature gfs2: Fix filesystem block deallocation for short writes tls: Fix context leak on tls_device_down net: sfc: ef10: fix memory leak in efx_ef10_mtd_probe() net/smc: non blocking recvmsg() return -EAGAIN when no data and signal_pending net: dsa: bcm_sf2: Fix Wake-on-LAN with mac_link_down() net: bcmgenet: Check for Wake-on-LAN interrupt probe deferral net/sched: act_pedit: really ensure the skb is writable s390/lcs: fix variable dereferenced before check s390/ctcm: fix potential memory leak s390/ctcm: fix variable dereferenced before check selftests: vm: Makefile: rename TARGETS to VMTARGETS hwmon: (ltq-cputemp) restrict it to SOC_XWAY dim: initialize all struct fields ionic: fix missing pci_release_regions() on error in ionic_probe() nfs: fix broken handling of the softreval mount option mac80211_hwsim: call ieee80211_tx_prepare_skb under RCU protection net: sfc: fix memory leak due to ptp channel sfc: Use swap() instead of open coding it netlink: do not reset transport header in netlink_recvmsg() drm/nouveau: Fix a potential theorical leak in nouveau_get_backlight_name() ipv4: drop dst in multicast routing path net: mscc: ocelot: avoid corrupting hardware counters when moving VCAP filters net: mscc: ocelot: restrict tc-trap actions to VCAP IS2 lookup 0 net: mscc: ocelot: fix VCAP IS2 filters matching on both lookups net: mscc: ocelot: fix last VCAP IS1/IS2 filter persisting in hardware when deleted net: Fix features skip in for_each_netdev_feature() mac80211: Reset MBSSID parameters upon connection hwmon: (tmp401) Add OF device ID table iwlwifi: iwl-dbg: Use del_timer_sync() before freeing batman-adv: Don't skb_split skbuffs with frag_list Linux 5.10.116 mm: userfaultfd: fix missing cache flush in mcopy_atomic_pte() and __mcopy_atomic() mm: hugetlb: fix missing cache flush in copy_huge_page_from_user() mm: fix missing cache flush for all tail pages of compound page Bluetooth: Fix the creation of hdev->name arm: remove CONFIG_ARCH_HAS_HOLES_MEMORYMODEL nfp: bpf: silence bitwise vs. logical OR warning drm/amd/display/dc/gpio/gpio_service: Pass around correct dce_{version, environment} types block: drbd: drbd_nl: Make conversion to 'enum drbd_ret_code' explicit regulator: consumer: Add missing stubs to regulator/consumer.h MIPS: Use address-of operator on section symbols ANDROID: GKI: update the abi .xml file due to hex_to_bin() changes Revert "tcp: ensure to use the most recently sent skb when filling the rate sample" Linux 5.10.115 mmc: rtsx: add 74 Clocks in power on flow PCI: aardvark: Fix reading MSI interrupt number PCI: aardvark: Clear all MSIs at setup dm: interlock pending dm_io and dm_wait_for_bios_completion block-map: add __GFP_ZERO flag for alloc_page in function bio_copy_kern rcu: Apply callbacks processing time limit only on softirq rcu: Fix callbacks processing time limit retaining cond_resched() KVM: LAPIC: Enable timer posted-interrupt only when mwait/hlt is advertised KVM: x86/mmu: avoid NULL-pointer dereference on page freeing bugs KVM: x86: Do not change ICR on write to APIC_SELF_IPI x86/kvm: Preserve BSP MSR_KVM_POLL_CONTROL across suspend/resume net/mlx5: Fix slab-out-of-bounds while reading resource dump menu kvm: x86/cpuid: Only provide CPUID leaf 0xA if host has architectural PMU net: igmp: respect RCU rules in ip_mc_source() and ip_mc_msfilter() btrfs: always log symlinks in full mode smsc911x: allow using IRQ0 selftests: ocelot: tc_flower_chains: specify conform-exceed action for policer bnxt_en: Fix unnecessary dropping of RX packets bnxt_en: Fix possible bnxt_open() failure caused by wrong RFS flag selftests: mirror_gre_bridge_1q: Avoid changing PVID while interface is operational hinic: fix bug of wq out of bound access net: emaclite: Add error handling for of_address_to_resource() net: cpsw: add missing of_node_put() in cpsw_probe_dt() net: stmmac: dwmac-sun8i: add missing of_node_put() in sun8i_dwmac_register_mdio_mux() net: dsa: mt7530: add missing of_node_put() in mt7530_setup() net: ethernet: mediatek: add missing of_node_put() in mtk_sgmii_init() NFSv4: Don't invalidate inode attributes on delegation return RDMA/siw: Fix a condition race issue in MPA request processing selftests/seccomp: Don't call read() on TTY from background pgrp net/mlx5: Avoid double clear or set of sync reset requested net/mlx5e: Fix the calling of update_buffer_lossy() API net/mlx5e: CT: Fix queued up restore put() executing after relevant ft release net/mlx5e: Don't match double-vlan packets if cvlan is not set net/mlx5e: Fix trust state reset in reload ASoC: dmaengine: Restore NULL prepare_slave_config() callback hwmon: (adt7470) Fix warning on module removal gpio: pca953x: fix irq_stat not updated when irq is disabled (irq_mask not set) NFC: netlink: fix sleep in atomic bug when firmware download timeout nfc: nfcmrvl: main: reorder destructive operations in nfcmrvl_nci_unregister_dev to avoid bugs nfc: replace improper check device_is_registered() in netlink related functions can: grcan: only use the NAPI poll budget for RX can: grcan: grcan_probe(): fix broken system id check for errata workaround needs can: grcan: use ofdev->dev when allocating DMA memory can: isotp: remove re-binding of bound socket can: grcan: grcan_close(): fix deadlock s390/dasd: Fix read inconsistency for ESE DASD devices s390/dasd: Fix read for ESE with blksize < 4k s390/dasd: prevent double format of tracks for ESE devices s390/dasd: fix data corruption for ESE devices ASoC: meson: Fix event generation for AUI CODEC mux ASoC: meson: Fix event generation for G12A tohdmi mux ASoC: meson: Fix event generation for AUI ACODEC mux ASoC: wm8958: Fix change notifications for DSP controls ASoC: da7219: Fix change notifications for tone generator frequency genirq: Synchronize interrupt thread startup net: stmmac: disable Split Header (SPH) for Intel platforms firewire: core: extend card->lock in fw_core_handle_bus_reset firewire: remove check of list iterator against head past the loop body firewire: fix potential uaf in outbound_phy_packet_callback() Revert "SUNRPC: attempt AF_LOCAL connect on setup" drm/amd/display: Avoid reading audio pattern past AUDIO_CHANNELS_COUNT iommu/vt-d: Calculate mask for non-aligned flushes KVM: x86/svm: Account for family 17h event renumberings in amd_pmc_perf_hw_id gpiolib: of: fix bounds check for 'gpio-reserved-ranges' mmc: core: Set HS clock speed before sending HS CMD13 mmc: sdhci-msm: Reset GCC_SDCC_BCR register for SDHC ALSA: fireworks: fix wrong return count shorter than expected by 4 bytes ALSA: hda/realtek: Add quirk for Yoga Duet 7 13ITL6 speakers parisc: Merge model and model name into one line in /proc/cpuinfo MIPS: Fix CP0 counter erratum detection for R4k CPUs Revert "ipv6: make ip6_rt_gc_expire an atomic_t" Revert "oom_kill.c: futex: delay the OOM reaper to allow time for proper futex cleanup" Linux 5.10.114 perf symbol: Remove arch__symbols__fixup_end() tty: n_gsm: fix software flow control handling tty: n_gsm: fix incorrect UA handling tty: n_gsm: fix reset fifo race condition tty: n_gsm: fix wrong command frame length field encoding tty: n_gsm: fix wrong command retry handling tty: n_gsm: fix missing explicit ldisc flush tty: n_gsm: fix wrong DLCI release order tty: n_gsm: fix insufficient txframe size netfilter: nft_socket: only do sk lookups when indev is available tty: n_gsm: fix malformed counter for out of frame data tty: n_gsm: fix wrong signal octet encoding in convergence layer type 2 tty: n_gsm: fix mux cleanup after unregister tty device tty: n_gsm: fix decoupled mux resource tty: n_gsm: fix restart handling via CLD command perf symbol: Update symbols__fixup_end() perf symbol: Pass is_kallsyms to symbols__fixup_end() x86/cpu: Load microcode during restore_processor_state() thermal: int340x: Fix attr.show callback prototype net: ethernet: stmmac: fix write to sgmii_adapter_base drm/i915: Fix SEL_FETCH_PLANE_*(PIPE_B+) register addresses kasan: prevent cpu_quarantine corruption when CPU offline and cache shrink occur at same time zonefs: Clear inode information flags on inode creation zonefs: Fix management of open zones powerpc/perf: Fix 32bit compile drivers: net: hippi: Fix deadlock in rr_close() cifs: destage any unwritten data to the server before calling copychunk_write x86: __memcpy_flushcache: fix wrong alignment if size > 2^32 ext4: fix bug_on in start_this_handle during umount filesystem ASoC: wm8731: Disable the regulator when probing fails ASoC: Intel: soc-acpi: correct device endpoints for max98373 tcp: fix F-RTO may not work correctly when receiving DSACK Revert "ibmvnic: Add ethtool private flag for driver-defined queue limits" ibmvnic: fix miscellaneous checks ixgbe: ensure IPsec VF<->PF compatibility net: fec: add missing of_node_put() in fec_enet_init_stop_mode() bnx2x: fix napi API usage sequence tls: Skip tls_append_frag on zero copy size drm/amd/display: Fix memory leak in dcn21_clock_source_create drm/amdkfd: Fix GWS queue count net: dsa: lantiq_gswip: Don't set GSWIP_MII_CFG_RMII_CLK net: phy: marvell10g: fix return value on error net: bcmgenet: hide status block before TX timestamping clk: sunxi: sun9i-mmc: check return value after calling platform_get_resource() bus: sunxi-rsb: Fix the return value of sunxi_rsb_device_create() tcp: make sure treq->af_specific is initialized tcp: fix potential xmit stalls caused by TCP_NOTSENT_LOWAT ip_gre, ip6_gre: Fix race condition on o_seqno in collect_md mode ip6_gre: Make o_seqno start from 0 in native mode ip_gre: Make o_seqno start from 0 in native mode net/smc: sync err code when tcp connection was refused net: hns3: add return value for mailbox handling in PF net: hns3: add validity check for message data length net: hns3: modify the return code of hclge_get_ring_chain_from_mbx cpufreq: fix memory leak in sun50i_cpufreq_nvmem_probe pinctrl: pistachio: fix use of irq_of_parse_and_map() arm64: dts: imx8mn-ddr4-evk: Describe the 32.768 kHz PMIC clock ARM: dts: imx6ull-colibri: fix vqmmc regulator sctp: check asoc strreset_chunk in sctp_generate_reconf_event wireguard: device: check for metadata_dst with skb_valid_dst() tcp: ensure to use the most recently sent skb when filling the rate sample pinctrl: stm32: Keep pinctrl block clock enabled when LEVEL IRQ requested tcp: md5: incorrect tcp_header_len for incoming connections pinctrl: rockchip: fix RK3308 pinmux bits bpf, lwt: Fix crash when using bpf_skb_set_tunnel_key() from bpf_xmit lwt hook netfilter: nft_set_rbtree: overlap detection with element re-addition after deletion net: dsa: Add missing of_node_put() in dsa_port_link_register_of memory: renesas-rpc-if: Fix HF/OSPI data transfer in Manual Mode pinctrl: stm32: Do not call stm32_gpio_get() for edge triggered IRQs in EOI mtd: fix 'part' field data corruption in mtd_info mtd: rawnand: Fix return value check of wait_for_completion_timeout pinctrl: mediatek: moore: Fix build error ipvs: correctly print the memory size of ip_vs_conn_tab ARM: dts: logicpd-som-lv: Fix wrong pinmuxing on OMAP35 ARM: dts: am3517-evm: Fix misc pinmuxing ARM: dts: Fix mmc order for omap3-gta04 phy: ti: Add missing pm_runtime_disable() in serdes_am654_probe phy: mapphone-mdm6600: Fix PM error handling in phy_mdm6600_probe ARM: dts: at91: sama5d4_xplained: fix pinctrl phandle name ARM: dts: at91: Map MCLK for wm8731 on at91sam9g20ek phy: ti: omap-usb2: Fix error handling in omap_usb2_enable_clocks bus: ti-sysc: Make omap3 gpt12 quirk handling SoC specific ARM: OMAP2+: Fix refcount leak in omap_gic_of_init phy: samsung: exynos5250-sata: fix missing device put in probe error paths phy: samsung: Fix missing of_node_put() in exynos_sata_phy_probe ARM: dts: imx6qdl-apalis: Fix sgtl5000 detection issue USB: Fix xhci event ring dequeue pointer ERDP update issue mtd: rawnand: fix ecc parameters for mt7622 iio:imu:bmi160: disable regulator in error path arm64: dts: meson: remove CPU opps below 1GHz for SM1 boards arm64: dts: meson: remove CPU opps below 1GHz for G12B boards video: fbdev: udlfb: properly check endpoint type iocost: don't reset the inuse weight of under-weighted debtors x86/pci/xen: Disable PCI/MSI[-X] masking for XEN_HVM guests riscv: patch_text: Fixup last cpu should be master hex2bin: fix access beyond string end hex2bin: make the function hex_to_bin constant-time pinctrl: samsung: fix missing GPIOLIB on ARM64 Exynos config arch_topology: Do not set llc_sibling if llc_id is invalid serial: 8250: Correct the clock for EndRun PTP/1588 PCIe device serial: 8250: Also set sticky MCR bits in console restoration serial: imx: fix overrun interrupts in DMA mode usb: phy: generic: Get the vbus supply usb: cdns3: Fix issue for clear halt endpoint usb: dwc3: gadget: Return proper request status usb: dwc3: core: Only handle soft-reset in DCTL usb: dwc3: core: Fix tx/rx threshold settings usb: dwc3: Try usb-role-switch first in dwc3_drd_init usb: gadget: configfs: clear deactivation flag in configfs_composite_unbind() usb: gadget: uvc: Fix crash when encoding data for usb request usb: typec: ucsi: Fix role swapping usb: typec: ucsi: Fix reuse of completion structure usb: misc: fix improper handling of refcount in uss720_probe() iio: imu: inv_icm42600: Fix I2C init possible nack iio: magnetometer: ak8975: Fix the error handling in ak8975_power_on() iio: dac: ad5446: Fix read_raw not returning set value iio: dac: ad5592r: Fix the missing return value. xhci: increase usb U3 -> U0 link resume timeout from 100ms to 500ms xhci: stop polling roothubs after shutdown xhci: Enable runtime PM on second Alderlake controller USB: serial: option: add Telit 0x1057, 0x1058, 0x1075 compositions USB: serial: option: add support for Cinterion MV32-WA/MV32-WB USB: serial: cp210x: add PIDs for Kamstrup USB Meter Reader USB: serial: whiteheat: fix heap overflow in WHITEHEAT_GET_DTR_RTS USB: quirks: add STRING quirk for VCOM device USB: quirks: add a Realtek card reader usb: mtu3: fix USB 3.0 dual-role-switch from device to host lightnvm: disable the subsystem floppy: disable FDRAWCMD by default Linux 5.10.113 Revert "net: micrel: fix KS8851_MLL Kconfig" block/compat_ioctl: fix range check in BLKGETSIZE staging: ion: Prevent incorrect reference counting behavour spi: atmel-quadspi: Fix the buswidth adjustment between spi-mem and controller jbd2: fix a potential race while discarding reserved buffers after an abort can: isotp: stop timeout monitoring when no first frame was sent ext4: force overhead calculation if the s_overhead_cluster makes no sense ext4: fix overhead calculation to account for the reserved gdt blocks ext4, doc: fix incorrect h_reserved size ext4: limit length to bitmap_maxbytes - blocksize in punch_hole ext4: fix use-after-free in ext4_search_dir ext4: fix symlink file size not match to file content ext4: fix fallocate to use file_modified to update permissions consistently perf report: Set PERF_SAMPLE_DATA_SRC bit for Arm SPE event powerpc/perf: Fix power9 event alternatives drm/vc4: Use pm_runtime_resume_and_get to fix pm_runtime_get_sync() usage KVM: PPC: Fix TCE handling for VFIO drm/panel/raspberrypi-touchscreen: Initialise the bridge in prepare drm/panel/raspberrypi-touchscreen: Avoid NULL deref if not initialised perf/core: Fix perf_mmap fail when CONFIG_PERF_USE_VMALLOC enabled sched/pelt: Fix attach_entity_load_avg() corner case arm_pmu: Validate single/group leader events ARC: entry: fix syscall_trace_exit argument e1000e: Fix possible overflow in LTR decoding ASoC: soc-dapm: fix two incorrect uses of list iterator gpio: Request interrupts after IRQ is initialized openvswitch: fix OOB access in reserve_sfa_size() xtensa: fix a7 clobbering in coprocessor context load/store xtensa: patch_text: Fixup last cpu should be master net: atlantic: invert deep par in pm functions, preventing null derefs dma: at_xdmac: fix a missing check on list iterator ata: pata_marvell: Check the 'bmdma_addr' beforing reading mm/mmu_notifier.c: fix race in mmu_interval_notifier_remove() oom_kill.c: futex: delay the OOM reaper to allow time for proper futex cleanup mm, hugetlb: allow for "high" userspace addresses EDAC/synopsys: Read the error count from the correct register nvme-pci: disable namespace identifiers for Qemu controllers nvme: add a quirk to disable namespace identifiers stat: fix inconsistency between struct stat and struct compat_stat scsi: qedi: Fix failed disconnect handling net: macb: Restart tx only if queue pointer is lagging drm/msm/mdp5: check the return of kzalloc() dpaa_eth: Fix missing of_node_put in dpaa_get_ts_info() brcmfmac: sdio: Fix undefined behavior due to shift overflowing the constant mt76: Fix undefined behavior due to shift overflowing the constant net: atlantic: Avoid out-of-bounds indexing cifs: Check the IOCB_DIRECT flag, not O_DIRECT vxlan: fix error return code in vxlan_fdb_append arm64: dts: imx: Fix imx8*-var-som touchscreen property sizes ALSA: usb-audio: Fix undefined behavior due to shift overflowing the constant platform/x86: samsung-laptop: Fix an unsigned comparison which can never be negative reset: tegra-bpmp: Restore Handle errors in BPMP response ARM: vexpress/spc: Avoid negative array index when !SMP arm64: mm: fix p?d_leaf() arm64/mm: Remove [PUD|PMD]_TABLE_BIT from [pud|pmd]_bad() selftests: mlxsw: vxlan_flooding: Prevent flooding of unwanted packets dmaengine: idxd: add RO check for wq max_transfer_size write dmaengine: idxd: add RO check for wq max_batch_size write net: stmmac: Use readl_poll_timeout_atomic() in atomic state netlink: reset network and mac headers in netlink_dump() ipv6: make ip6_rt_gc_expire an atomic_t l3mdev: l3mdev_master_upper_ifindex_by_index_rcu should be using netdev_master_upper_dev_get_rcu net/sched: cls_u32: fix possible leak in u32_init_knode() ip6_gre: Fix skb_under_panic in __gre6_xmit() ip6_gre: Avoid updating tunnel->tun_hlen in __gre6_xmit() net/packet: fix packet_sock xmit return value checking net/smc: Fix sock leak when release after smc_shutdown() rxrpc: Restore removed timer deletion igc: Fix BUG: scheduling while atomic igc: Fix infinite loop in release_swfw_sync esp: limit skb_page_frag_refill use to a single page spi: spi-mtk-nor: initialize spi controller after resume dmaengine: mediatek:Fix PM usage reference leak of mtk_uart_apdma_alloc_chan_resources dmaengine: imx-sdma: Fix error checking in sdma_event_remap ASoC: codecs: wcd934x: do not switch off SIDO Buck when codec is in use ASoC: msm8916-wcd-digital: Check failure for devm_snd_soc_register_component ASoC: atmel: Remove system clock tree configuration for at91sam9g20ek dm: fix mempool NULL pointer race when completing IO ALSA: hda/realtek: Add quirk for Clevo NP70PNP ALSA: usb-audio: Clear MIDI port active flag after draining net/sched: cls_u32: fix netns refcount changes in u32_change() gfs2: assign rgrp glock before compute_bitstructs perf tools: Fix segfault accessing sample_id xyarray tracing: Dump stacktrace trigger to the corresponding instance mm: page_alloc: fix building error on -Werror=array-compare etherdevice: Adjust ether_addr* prototypes to silence -Wstringop-overead ANDROID: fix up gpio change in 5.10.111 Linux 5.10.112 ax25: Fix UAF bugs in ax25 timers ax25: Fix NULL pointer dereferences in ax25 timers ax25: fix NPD bug in ax25_disconnect ax25: fix UAF bug in ax25_send_control() ax25: Fix refcount leaks caused by ax25_cb_del() ax25: fix UAF bugs of net_device caused by rebinding operation ax25: fix reference count leaks of ax25_dev ax25: add refcount in ax25_dev to avoid UAF bugs scsi: iscsi: Fix unbound endpoint error handling scsi: iscsi: Fix endpoint reuse regression dma-direct: avoid redundant memory sync for swiotlb timers: Fix warning condition in __run_timers() i2c: pasemi: Wait for write xfers to finish smp: Fix offline cpu check in flush_smp_call_function_queue() dm integrity: fix memory corruption when tag_size is less than digest size ARM: davinci: da850-evm: Avoid NULL pointer dereference tick/nohz: Use WARN_ON_ONCE() to prevent console saturation genirq/affinity: Consider that CPUs on nodes can be unbalanced drm/amdgpu: Enable gfxoff quirk on MacBook Pro drm/amd/display: don't ignore alpha property on pre-multiplied mode ipv6: fix panic when forwarding a pkt with no in6 dev nl80211: correctly check NL80211_ATTR_REG_ALPHA2 size ALSA: pcm: Test for "silence" field in struct "pcm_format_data" ALSA: hda/realtek: add quirk for Lenovo Thinkpad X12 speakers ALSA: hda/realtek: Add quirk for Clevo PD50PNT btrfs: mark resumed async balance as writing btrfs: fix root ref counts in error handling in btrfs_get_root_ref ath9k: Fix usage of driver-private space in tx_info ath9k: Properly clear TX status area before reporting to mac80211 gcc-plugins: latent_entropy: use /dev/urandom memory: renesas-rpc-if: fix platform-device leak in error path KVM: x86/mmu: Resolve nx_huge_pages when kvm.ko is loaded mm: kmemleak: take a full lowmem check in kmemleak_*_phys() mm: fix unexpected zeroed page mapping with zram swap mm, page_alloc: fix build_zonerefs_node() perf/imx_ddr: Fix undefined behavior due to shift overflowing the constant drivers: net: slip: fix NPD bug in sl_tx_timeout() scsi: megaraid_sas: Target with invalid LUN ID is deleted during scan scsi: mvsas: Add PCI ID of RocketRaid 2640 drm/amd/display: Fix allocate_mst_payload assert on resume drm/amd/display: Revert FEC check in validation myri10ge: fix an incorrect free for skb in myri10ge_sw_tso net: usb: aqc111: Fix out-of-bounds accesses in RX fixup net: axienet: setup mdio unconditionally tlb: hugetlb: Add more sizes to tlb_remove_huge_tlb_entry arm64: alternatives: mark patch_alternative() as `noinstr` regulator: wm8994: Add an off-on delay for WM8994 variant gpu: ipu-v3: Fix dev_dbg frequency output ata: libata-core: Disable READ LOG DMA EXT for Samsung 840 EVOs net: micrel: fix KS8851_MLL Kconfig scsi: ibmvscsis: Increase INITIAL_SRP_LIMIT to 1024 scsi: lpfc: Fix queue failures when recovering from PCI parity error scsi: target: tcmu: Fix possible page UAF Drivers: hv: vmbus: Prevent load re-ordering when reading ring buffer drm/amdkfd: Check for potential null return of kmalloc_array() drm/amdgpu/vcn: improve vcn dpg stop procedure drm/amdkfd: Fix Incorrect VMIDs passed to HWS drm/amd/display: Update VTEM Infopacket definition drm/amd/display: FEC check in timing validation drm/amd/display: fix audio format not updated after edid updated btrfs: do not warn for free space inode in cow_file_range btrfs: fix fallocate to use file_modified to update permissions consistently drm/amd: Add USBC connector ID net: bcmgenet: Revert "Use stronger register read/writes to assure ordering" dm mpath: only use ktime_get_ns() in historical selector cifs: potential buffer overflow in handling symlinks nfc: nci: add flush_workqueue to prevent uaf perf tools: Fix misleading add event PMU debug message testing/selftests/mqueue: Fix mq_perf_tests to free the allocated cpu set sctp: Initialize daddr on peeled off socket scsi: iscsi: Fix conn cleanup and stop race during iscsid restart scsi: iscsi: Fix offload conn cleanup when iscsid restarts scsi: iscsi: Move iscsi_ep_disconnect() scsi: iscsi: Fix in-kernel conn failure handling scsi: iscsi: Rel ref after iscsi_lookup_endpoint() scsi: iscsi: Use system_unbound_wq for destroy_work scsi: iscsi: Force immediate failure during shutdown scsi: iscsi: Stop queueing during ep_disconnect scsi: pm80xx: Enable upper inbound, outbound queues scsi: pm80xx: Mask and unmask upper interrupt vectors 32-63 net/smc: Fix NULL pointer dereference in smc_pnet_find_ib() drm/msm/dsi: Use connector directly in msm_dsi_manager_connector_init() drm/msm: Fix range size vs end confusion cfg80211: hold bss_lock while updating nontrans_list net/sched: taprio: Check if socket flags are valid net: ethernet: stmmac: fix altr_tse_pcs function when using a fixed-link net: dsa: felix: suppress -EPROBE_DEFER errors net/sched: fix initialization order when updating chain 0 head mlxsw: i2c: Fix initialization error flow net: mdio: Alphabetically sort header inclusion gpiolib: acpi: use correct format characters veth: Ensure eth header is in skb's linear part net/sched: flower: fix parsing of ethertype following VLAN header SUNRPC: Fix the svc_deferred_event trace class media: rockchip/rga: do proper error checking in probe firmware: arm_scmi: Fix sorting of retrieved clock rates memory: atmel-ebi: Fix missing of_node_put in atmel_ebi_probe drm/msm: Add missing put_task_struct() in debugfs path btrfs: remove unused variable in btrfs_{start,write}_dirty_block_groups() ACPI: processor idle: Check for architectural support for LPI cpuidle: PSCI: Move the `has_lpi` check to the beginning of the function hamradio: remove needs_free_netdev to avoid UAF hamradio: defer 6pack kfree after unregister_netdev drm/amdkfd: Use drm_priv to pass VM from KFD to amdgpu Linux 5.10.111 powerpc: Fix virt_addr_valid() for 64-bit Book3E & 32-bit mm/sparsemem: fix 'mem_section' will never be NULL gcc 12 warning irqchip/gic, gic-v3: Prevent GSI to SGI translations Drivers: hv: vmbus: Replace smp_store_mb() with virt_store_mb() arm64: module: remove (NOLOAD) from linker script selftests: cgroup: Test open-time cgroup namespace usage for migration checks selftests: cgroup: Test open-time credential usage for migration checks selftests: cgroup: Make cg_create() use 0755 for permission instead of 0644 selftests/cgroup: Fix build on older distros cgroup: Use open-time credentials for process migraton perm checks mm: don't skip swap entry even if zap_details specified ubsan: remove CONFIG_UBSAN_OBJECT_SIZE dmaengine: Revert "dmaengine: shdma: Fix runtime PM imbalance on error" tools build: Use $(shell ) instead of `` to get embedded libperl's ccopts tools build: Filter out options and warnings not supported by clang perf python: Fix probing for some clang command line options perf build: Don't use -ffat-lto-objects in the python feature test when building with clang-13 drm/amdkfd: Create file descriptor after client is added to smi_clients list drm/nouveau/pmu: Add missing callbacks for Tegra devices drm/amdgpu/smu10: fix SoC/fclk units in auto mode irqchip/gic-v3: Fix GICR_CTLR.RWP polling perf: qcom_l2_pmu: fix an incorrect NULL check on list iterator ata: sata_dwc_460ex: Fix crash due to OOB write gpio: Restrict usage of GPIO chip irq members before initialization RDMA/hfi1: Fix use-after-free bug for mm struct arm64: patch_text: Fixup last cpu should be master btrfs: prevent subvol with swapfile from being deleted btrfs: fix qgroup reserve overflow the qgroup limit x86/speculation: Restore speculation related MSRs during S3 resume x86/pm: Save the MSR validity status at context setup io_uring: fix race between timeout flush and removal mm/mempolicy: fix mpol_new leak in shared_policy_replace mmmremap.c: avoid pointless invalidate_range_start/end on mremap(old_size=0) lz4: fix LZ4_decompress_safe_partial read out of bound mmc: renesas_sdhi: don't overwrite TAP settings when HS400 tuning is complete mmc: mmci: stm32: correctly check all elements of sg list Revert "mmc: sdhci-xenon: fix annoying 1.8V regulator warning" arm64: Add part number for Arm Cortex-A78AE perf session: Remap buf if there is no space for event perf tools: Fix perf's libperf_print callback perf: arm-spe: Fix perf report --mem-mode iommu/omap: Fix regression in probe for NULL pointer dereference SUNRPC: svc_tcp_sendmsg() should handle errors from xdr_alloc_bvec() SUNRPC: Handle low memory situations in call_status() SUNRPC: Handle ENOMEM in call_transmit_status() io_uring: don't touch scm_fp_list after queueing skb drbd: Fix five use after free bugs in get_initial_state bpf: Support dual-stack sockets in bpf_tcp_check_syncookie spi: bcm-qspi: fix MSPI only access with bcm_qspi_exec_mem_op() qede: confirm skb is allocated before using net: phy: mscc-miim: reject clause 45 register accesses rxrpc: fix a race in rxrpc_exit_net() net: openvswitch: fix leak of nested actions net: openvswitch: don't send internal clone attribute to the userspace. ice: synchronize_rcu() when terminating rings ipv6: Fix stats accounting in ip6_pkt_drop ice: Do not skip not enabled queues in ice_vc_dis_qs_msg ice: Set txq_teid to ICE_INVAL_TEID on ring creation dpaa2-ptp: Fix refcount leak in dpaa2_ptp_probe IB/rdmavt: add lock to call to rvt_error_qp to prevent a race condition RDMA/mlx5: Don't remove cache MRs when a delay is needed sfc: Do not free an empty page_ring bnxt_en: reserve space inside receive page for skb_shared_info drm/imx: Fix memory leak in imx_pd_connector_get_modes drm/imx: imx-ldb: Check for null pointer after calling kmemdup net: stmmac: Fix unset max_speed difference between DT and non-DT platforms net: ipv4: fix route with nexthop object delete warning ice: Clear default forwarding VSI during VSI release net/tls: fix slab-out-of-bounds bug in decrypt_internal scsi: zorro7xx: Fix a resource leak in zorro7xx_remove_one() NFSv4: fix open failure with O_ACCMODE flag Revert "NFSv4: Handle the special Linux file open access mode" Drivers: hv: vmbus: Fix potential crash on module unload drm/amdgpu: fix off by one in amdgpu_gfx_kiq_acquire() Revert "hv: utils: add PTP_1588_CLOCK to Kconfig to fix build" mm: fix race between MADV_FREE reclaim and blkdev direct IO read parisc: Fix patch code locking and flushing parisc: Fix CPU affinity for Lasi, WAX and Dino chips NFS: Avoid writeback threads getting stuck in mempool_alloc() NFS: nfsiod should not block forever in mempool_alloc() SUNRPC: Fix socket waits for write buffer space jfs: prevent NULL deref in diFree virtio_console: eliminate anonymous module_init & module_exit serial: samsung_tty: do not unlock port->lock for uart_write_wakeup() x86/Kconfig: Do not allow CONFIG_X86_X32_ABI=y with llvm-objcopy NFS: swap-out must always use STABLE writes. NFS: swap IO handling is slightly different for O_DIRECT IO SUNRPC: remove scheduling boost for "SWAPPER" tasks. SUNRPC/xprt: async tasks mustn't block waiting for memory SUNRPC/call_alloc: async tasks mustn't block waiting for memory clk: Enforce that disjoints limits are invalid clk: ti: Preserve node in ti_dt_clocks_register() xen: delay xen_hvm_init_time_ops() if kdump is boot on vcpu>=32 NFSv4: Protect the state recovery thread against direct reclaim NFSv4.2: fix reference count leaks in _nfs42_proc_copy_notify() w1: w1_therm: fixes w1_seq for ds28ea00 sensors staging: wfx: fix an error handling in wfx_init_common() phy: amlogic: meson8b-usb2: Use dev_err_probe() staging: vchiq_core: handle NULL result of find_service_by_handle clk: si5341: fix reported clk_rate when output divider is 2 minix: fix bug when opening a file with O_DIRECT init/main.c: return 1 from handled __setup() functions ceph: fix memory leak in ceph_readdir when note_last_dentry returns error netlabel: fix out-of-bounds memory accesses Bluetooth: Fix use after free in hci_send_acl MIPS: ingenic: correct unit node address xtensa: fix DTC warning unit_address_format usb: dwc3: omap: fix "unbalanced disables for smps10_out1" on omap5evm net: sfp: add 2500base-X quirk for Lantech SFP module net: limit altnames to 64k total net: account alternate interface name memory can: isotp: set default value for N_As to 50 micro seconds scsi: libfc: Fix use after free in fc_exch_abts_resp() powerpc/secvar: fix refcount leak in format_show() MIPS: fix fortify panic when copying asm exception handlers PCI: endpoint: Fix misused goto label bnxt_en: Eliminate unintended link toggle during FW reset Bluetooth: use memset avoid memory leaks Bluetooth: Fix not checking for valid hdev on bt_dev_{info,warn,err,dbg} tuntap: add sanity checks about msg_controllen in sendmsg macvtap: advertise link netns via netlink mips: ralink: fix a refcount leak in ill_acc_of_setup() net/smc: correct settings of RMB window update limit scsi: hisi_sas: Free irq vectors in order for v3 HW scsi: aha152x: Fix aha152x_setup() __setup handler return value mt76: mt7615: Fix assigning negative values to unsigned variable scsi: pm8001: Fix memory leak in pm8001_chip_fw_flash_update_req() scsi: pm8001: Fix tag leaks on error scsi: pm8001: Fix task leak in pm8001_send_abort_all() scsi: pm8001: Fix pm8001_mpi_task_abort_resp() scsi: pm8001: Fix pm80xx_pci_mem_copy() interface drm/amdkfd: make CRAT table missing message informational only dm: requeue IO if mapping table not yet available dm ioctl: prevent potential spectre v1 gadget ipv4: Invalidate neighbour for broadcast address upon address addition iwlwifi: mvm: Correctly set fragmented EBS power: supply: axp288-charger: Set Vhold to 4.4V PCI: pciehp: Add Qualcomm quirk for Command Completed erratum tcp: Don't acquire inet_listen_hashbucket::lock with disabled BH. PCI: endpoint: Fix alignment fault error in copy tests usb: ehci: add pci device support for Aspeed platforms iommu/arm-smmu-v3: fix event handling soft lockup PCI: aardvark: Fix support for MSI interrupts drm/amdgpu: Fix recursive locking warning powerpc: Set crashkernel offset to mid of RMA region ipv6: make mc_forwarding atomic libbpf: Fix build issue with llvm-readelf cfg80211: don't add non transmitted BSS to 6GHz scanned channels mt76: dma: initialize skip_unmap in mt76_dma_rx_fill power: supply: axp20x_battery: properly report current when discharging scsi: bfa: Replace snprintf() with sysfs_emit() scsi: mvsas: Replace snprintf() with sysfs_emit() bpf: Make dst_port field in struct bpf_sock 16-bit wide ath11k: mhi: use mhi_sync_power_up() ath11k: fix kernel panic during unload/load ath11k modules powerpc: dts: t104xrdb: fix phy type for FMAN 4/5 ptp: replace snprintf with sysfs_emit usb: gadget: tegra-xudc: Fix control endpoint's definitions usb: gadget: tegra-xudc: Do not program SPARAM drm/amd/amdgpu/amdgpu_cs: fix refcount leak of a dma_fence obj drm/amd/display: Add signal type check when verify stream backends same ath5k: fix OOB in ath5k_eeprom_read_pcal_info_5111 drm: Add orientation quirk for GPD Win Max KVM: x86/emulator: Emulate RDPID only if it is enabled in guest KVM: x86/svm: Clear reserved bits written to PerfEvtSeln MSRs rtc: wm8350: Handle error for wm8350_register_irq gfs2: gfs2_setattr_size error path fix gfs2: Fix gfs2_release for non-writers regression gfs2: Check for active reservation in gfs2_release ubifs: Rectify space amount budget for mkdir/tmpfile operations Conflicts: drivers/mmc/host/sdhci-msm.c Change-Id: I7a49ede6a9c42c6f5425b8ba632730a5a289d6ab Signed-off-by: Sivasri Kumar, Vanka <quic_svanka@quicinc.com> |
||
![]() |
45971eed4e |
Merge remote-tracking branch into HEAD
* keystone/mirror-android12-5.10-2022-08: (704 commits) ANDROID: Update symbol list for mtk ANDROID: GKI: rockchip: Add symbols for crypto ANDROID: GKI: rockchip: Add symbol pci_disable_link_state ANDROID: GKI: rockchip: Add symbols for sound ANDROID: GKI: rockchip: Add symbols for video BACKPORT: f2fs: do not set compression bit if kernel doesn't support UPSTREAM: exfat: improve performance of exfat_free_cluster when using dirsync mount ANDROID: GKI: rockchip: Add symbols for drm dp UPSTREAM: arm64: perf: Support new DT compatibles UPSTREAM: arm64: perf: Simplify registration boilerplate UPSTREAM: arm64: perf: Support Denver and Carmel PMUs UPSTREAM: arm64: perf: add support for Cortex-A78 ANDROID: GKI: rockchip: Update symbol for devfreq ANDROID: GKI: rockchip: Update symbols for drm ANDROID: GKI: Update symbols to symbol list UPSTREAM: ASoC: hdmi-codec: make hdmi_codec_controls static UPSTREAM: ASoC: hdmi-codec: Add a prepare hook UPSTREAM: ASoC: hdmi-codec: Add iec958 controls UPSTREAM: ASoC: hdmi-codec: Rework to support more controls UPSTREAM: ALSA: iec958: Split status creation and fill ... Change-Id: I8504c6f097b53bd7d8fa7524e4abf4b871d023bc |
||
![]() |
85aff72329 |
Revert "ANDROID: GKI: signal: Export for __lock_task_sighand"
This reverts commit
|
||
![]() |
0a292918e3 |
Merge keystone/android12-5.10-keystone-qcom-release.110+ (fc6bdd0 ) into msm-5.10
* refs/heads/tmp-fc6bdd0: ANDROID: abi_gki_aarch64_qcom: Add skb and scatterlist helpers ANDROID: Use rq_clock_task without CONFIG_SMP ANDROID: GKI: Update symbol list for transsion ANDROID: vendor_hook: Add hook in __free_pages() ANDROID: vendor_hooks: Add hooks to extend the struct swap_info_struct ANDROID: vendor_hook: Add hook in si_swapinfo() FROMGIT: arm64: fix oops in concurrently setting insn_emulation sysctls FROMGIT: io_uring: Use original task for req identity in io_identity_cow() FROMLIST: binder: fix UAF of ref->proc caused by race condition FROMGIT: arm64: fix oops in concurrently setting insn_emulation sysctls FROMGIT: io_uring: Use original task for req identity in io_identity_cow() FROMLIST: binder: fix UAF of ref->proc caused by race condition ANDROID: Guard rq_clock_task_mult with CONFIG_SMP ANDROID: sched: Introducing PELT multiplier ANDROID: Guard hooks with their CONFIG_ options FROMGIT: binder: fix redefinition of seq_file attributes ANDROID: vendor_hook: Add hook in shmem_writepage() BACKPORT: iommu/dma: Fix race condition during iova_domain initialization FROMGIT: usb: dwc3: core: Deprecate GCTL.CORESOFTRESET FROMGIT: usb: dwc3: gadget: Prevent repeat pullup() FROMGIT: Binder: add TF_UPDATE_TXN to replace outdated txn BACKPORT: FROMGIT: cgroup: Use separate src/dst nodes when preloading css_sets for migration UPSTREAM: usb: gadget: f_uac2: allow changing interface name via configfs UPSTREAM: usb: gadget: f_uac1: allow changing interface name via configfs UPSTREAM: usb: gadget: f_uac1: Add suspend callback UPSTREAM: usb: gadget: f_uac2: Add suspend callback UPSTREAM: usb: gadget: u_audio: Add suspend call UPSTREAM: usb: gadget: u_audio: Rate ctl notifies about current srate (0=stopped) UPSTREAM: usb: gadget: f_uac1: Support multiple sampling rates UPSTREAM: usb: gadget: f_uac2: Support multiple sampling rates UPSTREAM: usb: gadget:audio: Replace deprecated macro S_IRUGO UPSTREAM: usb: gadget: u_audio: Add capture/playback srate getter UPSTREAM: usb: gadget: u_audio: Move dynamic srate from params to rtd UPSTREAM: usb: gadget: u_audio: Support multiple sampling rates UPSTREAM: docs: ABI: fixed formatting in configfs-usb-gadget-uac2 UPSTREAM: usb: gadget: u_audio: Subdevice 0 for capture ctls UPSTREAM: usb: gadget: u_audio: fix calculations for small bInterval UPSTREAM: docs: ABI: fixed req_number desc in UAC1 UPSTREAM: docs: ABI: added missing num_requests param to UAC2 UPSTREAM: usb:gadget: f_uac1: fixed sync playback UPSTREAM: usb: gadget: u_audio.c: Adding Playback Pitch ctl for sync playback UPSTREAM: ABI: configfs-usb-gadget-uac2: fix a broken table UPSTREAM: ABI: configfs-usb-gadget-uac1: fix a broken table UPSTREAM: usb: gadget: f_uac1: fixing inconsistent indenting UPSTREAM: docs: usb: fix malformed table UPSTREAM: usb: gadget: f_uac1: add volume and mute support BACKPORT: usb: gadget: f_uac2: add volume and mute support UPSTREAM: usb: gadget: u_audio: add bi-directional volume and mute support UPSTREAM: usb: audio-v2: add ability to define feature unit descriptor ANDROID: mm: shmem: use reclaim_pages() to recalim pages from a list UPSTREAM: usb: gadget: f_uac1: disable IN/OUT ep if unused ANDROID: GKI: Add symbols to abi_gki_aarch64_transsion BACKPORT: nfc: nfcmrvl: main: reorder destructive operations in nfcmrvl_nci_unregister_dev to avoid bugs ANDROID: vendor_hook: Add hook in __free_pages() ANDROID: create and export is_swap_slot_cache_enabled ANDROID: vendor_hook: Add hook in swap_slots ANDROID: mm: export swapcache_free_entries ANDROID: mm: export symbols used in vendor hook android_vh_get_swap_page() ANDROID: vendor_hooks: Add hooks to extend struct swap_slots_cache ANDROID: mm: export swap_type_to_swap_info ANDROID: vendor_hook: Add hook in si_swapinfo() ANDROID: vendor_hooks: Add hooks to extend the struct swap_info_struct ANDROID: vendor_hook: Add hooks in unuse_pte_range() and try_to_unuse() ANDROID: vendor_hook: Add hooks in free_swap_slot() ANDROID: vendor_hook: Add hook to update nr_swap_pages and total_swap_pages ANDROID: vendor_hook: Add hook in page_referenced_one() ANDROID: vendor_hooks: Add hooks to record the I/O statistics of swap: ANDROID: vendor_hook: Add hook in migrate_page_states() ANDROID: vendor_hook: Add hook in __migration_entry_wait() ANDROID: vendor_hook: Add hook in handle_pte_fault() ANDROID: vendor_hook: Add hook in do_swap_page() ANDROID: vendor_hook: Add hook in wp_page_copy() ANDROID: vendor_hooks: Add hooks to madvise_cold_or_pageout_pte_range() ANDROID: vendor_hook: Add hook in snapshot_refaults() ANDROID: vendor_hook: Add hook in inactive_is_low() FROMGIT: usb: gadget: f_fs: change ep->ep safe in ffs_epfile_io() FROMGIT: usb: gadget: f_fs: change ep->status safe in ffs_epfile_io() ANDROID: GKI: forward declare struct cgroup_taskset in vendor hooks ANDROID: Fix build error with CONFIG_UCLAMP_TASK disabled ANDROID: GKI: include more type definitions in vendor hooks ANDROID: Update symbol list for mtk ANDROID: dma/debug: fix warning of check_sync FROMGIT: usb: common: usb-conn-gpio: Allow wakeup from system suspend BACKPORT: FROMLIST: usb: gadget: uvc: fix list double add in uvcg_video_pump BACKPORT: exfat: improve write performance when dirsync enabled FROMLIST: devcoredump : Serialize devcd_del work Change-Id: Ie85e8cf4ecd3c3c218a45fc6be04204ea55a4c70 Signed-off-by: Sivasri Kumar, Vanka <quic_svanka@quicinc.com> |
||
![]() |
f97b35738b |
Merge remote-tracking branch into HEAD
* keystone/mirror-android12-5.10-2022-07: ANDROID: Use rq_clock_task without CONFIG_SMP ANDROID: GKI: Update symbol list for transsion ANDROID: vendor_hook: Add hook in __free_pages() ANDROID: vendor_hooks: Add hooks to extend the struct swap_info_struct ANDROID: vendor_hook: Add hook in si_swapinfo() FROMGIT: arm64: fix oops in concurrently setting insn_emulation sysctls FROMGIT: io_uring: Use original task for req identity in io_identity_cow() FROMLIST: binder: fix UAF of ref->proc caused by race condition ANDROID: Guard rq_clock_task_mult with CONFIG_SMP Signed-off-by: deyaoren@google.com <deyaoren@google.com> Change-Id: Ic7b82f50c116ad5086d12105661dcb9013595fc3 |
||
![]() |
486580ffb5 |
Revert "ANDROID: vendor_hooks: Add hooks for mutex"
This reverts commit
|
||
![]() |
548da5d23d |
ANDROID: vendor_hooks: Add hooks for oem futex optimization
If an important task is going to sleep through do_futex(),
find out it's futex-owner by the pid comes from userspace,
and boost the owner by some means to shorten the sleep time.
How to boost? Depends on these hooks:
|
||
![]() |
6759e5ca02 |
ANDROID: Use rq_clock_task without CONFIG_SMP
Fix build error caused by guarding rq_clock_task_mult with CONFIG_SMP. Issue was not seen in original commit as test case was UM Linux, which does not enable CONFIG_CFS_BANDWIDTH. >> kernel/sched/fair.c:4791:40: error: implicit declaration of function 'rq_clock_task_mult' [-Werror,-Wimplicit-function-declaration] cfs_rq->throttled_clock_task_time += rq_clock_task_mult(rq) - Change-Id: Id3392c37ba1b2bfe78c89bc4b1ca01b920164a35 Reported-by: kernel test robot <lkp@intel.com> Fixes: |
||
![]() |
d1e180148e |
BACKPORT: cgroup: Fix threadgroup_rwsem <-> cpus_read_lock() deadlock
Bringing up a CPU may involve creating and destroying tasks which requires read-locking threadgroup_rwsem, so threadgroup_rwsem nests inside cpus_read_lock(). However, cpuset's ->attach(), which may be called with thredagroup_rwsem write-locked, also wants to disable CPU hotplug and acquires cpus_read_lock(), leading to a deadlock. Fix it by guaranteeing that ->attach() is always called with CPU hotplug disabled and removing cpus_read_lock() call from cpuset_attach(). Bug: 242685775 Change-Id: Ib14746f8e361eac8a1cfb88ae920488d1155d904 Signed-off-by: Tejun Heo <tj@kernel.org> Reviewed-and-tested-by: Imran Khan <imran.f.khan@oracle.com> Reported-and-tested-by: Xuewen Yan <xuewen.yan@unisoc.com> Fixes: 05c7b7a92cc8 ("cgroup/cpuset: Fix a race between cpuset_attach() and cpu hotplug") Cc: stable@vger.kernel.org # v5.17+ Link: https://lore.kernel.org/lkml/YvrWaml3F+x9Dk+T@slm.duckdns.org/ Link: https://lore.kernel.org/lkml/20220705123705.764-1-xuewen.yan@unisoc.com/ (cherry picked from commit 4f7e7236435ca0abe005c674ebd6892c6e83aeb3 https://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git for-6.0-fixes) Signed-off-by: Mukesh Ojha <quic_mojha@quicinc.com> |
||
![]() |
ef04c4095d |
UPSTREAM: cgroup: Elide write-locking threadgroup_rwsem when updating csses on an empty subtree
cgroup_update_dfl_csses() write-lock the threadgroup_rwsem as updating the csses can trigger process migrations. However, if the subtree doesn't contain any tasks, there aren't gonna be any cgroup migrations. This condition can be trivially detected by testing whether mgctx.preloaded_src_csets is empty. Elide write-locking threadgroup_rwsem if the subtree is empty. After this optimization, the usage pattern of creating a cgroup, enabling the necessary controllers, and then seeding it with CLONE_INTO_CGROUP and then removing the cgroup after it becomes empty doesn't need to write-lock threadgroup_rwsem at all. Bug: 242685775 Change-Id: Ifc96030fc7b0655ecd85ef19c52c9ed97e910ffb Signed-off-by: Tejun Heo <tj@kernel.org> Cc: Christian Brauner <brauner@kernel.org> Cc: Michal Koutný <mkoutny@suse.com> (cherry picked from commit 671c11f0619e5ccb380bcf0f062f69ba95fc974a https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git master) Signed-off-by: Mukesh Ojha <quic_mojha@quicinc.com> |
||
![]() |
04c766fa76 |
ANDROID: Use rq_clock_task without CONFIG_SMP
Fix build error caused by guarding rq_clock_task_mult with CONFIG_SMP.
Issue was not seen in original commit as test case was UM Linux, which
does not enable CONFIG_CFS_BANDWIDTH.
>> kernel/sched/fair.c:4791:40: error: implicit declaration of function 'rq_clock_task_mult' [-Werror,-Wimplicit-function-declaration]
cfs_rq->throttled_clock_task_time += rq_clock_task_mult(rq) -
Change-Id: Id3392c37ba1b2bfe78c89bc4b1ca01b920164a35
Reported-by: kernel test robot <lkp@intel.com>
Fixes:
|
||
![]() |
40b3533213 |
Revert "ANDROID: vendor_hooks:vendor hook for pidfd_open"
This reverts commit
|
||
![]() |
501063ce66 |
Revert "ANDROID: vendor_hooks:vendor hook for mmput"
This reverts commit
|
||
![]() |
567d65e536 |
ANDROID: Guard rq_clock_task_mult with CONFIG_SMP
rq->cpu only exists on CONFIG_SMP builds. PELT only needs to support
SMP-enabled builds, so guard rq_clock_task_mult with CONFIG_SMP to
support compilation of kernel without CONFIG_SMP enabled.
Change-Id: I7779f5b10b44757dfd4cbc159b6ae3f3f1ddf3e7
Fixes:
|
||
![]() |
be1053a135 |
ANDROID: Guard rq_clock_task_mult with CONFIG_SMP
rq->cpu only exists on CONFIG_SMP builds. PELT only needs to support
SMP-enabled builds, so guard rq_clock_task_mult with CONFIG_SMP to
support compilation of kernel without CONFIG_SMP enabled.
Change-Id: I7779f5b10b44757dfd4cbc159b6ae3f3f1ddf3e7
Fixes:
|
||
![]() |
eed2741ae6 |
ANDROID: vendor_hook: add hooks to protect locking-tsk in cpu scheduler
Providing vendor hooks to record the start time of holding the lock, which protects rwsem/mutex locking-process from being preemptedfor a short time in some cases. - android_vh_record_mutex_lock_starttime - android_vh_record_rtmutex_lock_starttime - android_vh_record_rwsem_lock_starttime - android_vh_record_percpu_rwsem_lock_starttime Bug: 241191475 Signed-off-by: Peifeng Li <lipeifeng@oppo.com> Change-Id: I0e967a1e8b77c32a1ad588acd54028fae2f90c4e |
||
![]() |
c0b24106ce |
Merge remote-tracking branch into HEAD
* keystone/mirror-android12-5.10-2022-07: ANDROID: sched: Introducing PELT multiplier Signed-off-by: deyaoren@google.com <deyaoren@google.com> Change-Id: I1fd5ef9d8b03ee873cd3db5d80671065183716b1 |
||
![]() |
9377277724 |
ANDROID: sched: Introducing PELT multiplier
The new sysctl sched_pelt_multiplier allows a user to set a clock multiplier x2 or x4 (x1 being the default). This clock multiplier artificially speed-up PELT ramp up/down similarly to a faster half-life. Indeed, if we write PELT as a first order filter: y(t) = G * (1 - exp(t/tau)) Then we can see that multiplying the time by a constant X, is the same as dividing the time constant tau by X. y(t) = G * (1 - exp((t*X)/tau)) y(t) = G * (1 - exp(t/(tau/X))) Tau being half-life*ln(2), multiplying the PELT time is the same as dividing the half-life: - x1: 32ms half-life - x2: 16ms half-life - x4: 8ms half-life Internally, a new clock is created: rq->clock_task_mult. It sits in the clock hierarchy between rq->clock_task and rq->clock_pelt. Bug: 177593580 Bug: 237219700 Change-Id: I67e6ca7994bebea22bf75732ee11d2b10e0d6b7e Suggested-by: Morten Rasmussen <morten.rasmussen@arm.com> Signed-off-by: Vincent Donnefort <vincent.donnefort@arm.com> Signed-off-by: JianMin Liu <jian-min.liu@mediatek.com> |
||
![]() |
e2a58037b6 |
Merge remote-tracking branch into HEAD
* keystone/mirror-android12-5.10-2022-07: (72 commits) ANDROID: Guard hooks with their CONFIG_ options FROMGIT: binder: fix redefinition of seq_file attributes ANDROID: vendor_hook: Add hook in shmem_writepage() BACKPORT: iommu/dma: Fix race condition during iova_domain initialization FROMGIT: usb: dwc3: core: Deprecate GCTL.CORESOFTRESET FROMGIT: usb: dwc3: gadget: Prevent repeat pullup() FROMGIT: Binder: add TF_UPDATE_TXN to replace outdated txn BACKPORT: FROMGIT: cgroup: Use separate src/dst nodes when preloading css_sets for migration UPSTREAM: usb: gadget: f_uac2: allow changing interface name via configfs UPSTREAM: usb: gadget: f_uac1: allow changing interface name via configfs UPSTREAM: usb: gadget: f_uac1: Add suspend callback UPSTREAM: usb: gadget: f_uac2: Add suspend callback UPSTREAM: usb: gadget: u_audio: Add suspend call UPSTREAM: usb: gadget: u_audio: Rate ctl notifies about current srate (0=stopped) UPSTREAM: usb: gadget: f_uac1: Support multiple sampling rates UPSTREAM: usb: gadget: f_uac2: Support multiple sampling rates UPSTREAM: usb: gadget:audio: Replace deprecated macro S_IRUGO UPSTREAM: usb: gadget: u_audio: Add capture/playback srate getter UPSTREAM: usb: gadget: u_audio: Move dynamic srate from params to rtd UPSTREAM: usb: gadget: u_audio: Support multiple sampling rates ... Signed-off-by: deyaoren@google.com <deyaoren@google.com> Change-Id: Ic96b04dbb9844d4f7284090a39ea701b15f41f09 |
||
![]() |
9e8dedef1e |
ANDROID: sched: add vendor hook to PELT multiplier
We add vendor hook at sched_pelt_multiplier for performance tuning. Bug: 240896506 Change-Id: I10e3436a986dd5dd7d375460922407666f27739d Signed-off-by: Jing-Ting Wu <Jing-Ting.Wu@mediatek.com> Signed-off-by: JianMin Liu <jian-min.liu@mediatek.com> |
||
![]() |
14f646cca5 |
ANDROID: fix kernelci issue for allnoconfig builds
'allnoconfig' builds failed with:
kernel/sched/sched.h:1203:50: error: ‘struct rq’ has no member named ‘cpu’
rq->cpu needs to be replaced with cpu_of(rq) for !CONFIG_SMP builds
Fixes:
|
||
![]() |
4442801a43 |
ANDROID: sched: Introducing PELT multiplier
The new sysctl sched_pelt_multiplier allows a user to set a clock multiplier x2 or x4 (x1 being the default). This clock multiplier artificially speed-up PELT ramp up/down similarly to a faster half-life. Indeed, if we write PELT as a first order filter: y(t) = G * (1 - exp(t/tau)) Then we can see that multiplying the time by a constant X, is the same as dividing the time constant tau by X. y(t) = G * (1 - exp((t*X)/tau)) y(t) = G * (1 - exp(t/(tau/X))) Tau being half-life*ln(2), multiplying the PELT time is the same as dividing the half-life: - x1: 32ms half-life - x2: 16ms half-life - x4: 8ms half-life Internally, a new clock is created: rq->clock_task_mult. It sits in the clock hierarchy between rq->clock_task and rq->clock_pelt. Bug: 177593580 Bug: 237219700 Change-Id: I67e6ca7994bebea22bf75732ee11d2b10e0d6b7e Suggested-by: Morten Rasmussen <morten.rasmussen@arm.com> Signed-off-by: Vincent Donnefort <vincent.donnefort@arm.com> Signed-off-by: JianMin Liu <jian-min.liu@mediatek.com> |
||
![]() |
9c2a5eef8f |
Merge tag 'android12-5.10.117_r00' into 'android12-5.10'
This is the merge of the upstream LTS release of 5.10.117 into the android12-5.10 branch. It contains the following commits: |
||
![]() |
8b19ed264b |
ANDROID: vendor_hooks:vendor hook for mmput
add vendor hook in mmput while mm_users decreased to 0. Bug: 238821038 Change-Id: I42a717cbeeb3176bac14b4b2391fdb2366c972d3 Signed-off-by: xiaofeng <xiaofeng5@xiaomi.com> |
||
![]() |
242b11e574 |
ANDROID: vendor_hooks:vendor hook for pidfd_open
Add vendor hook when detecting process status through pidfd_open. Bug: 238725692 Change-Id: I565988cb8bf6dd44ab4dc15c410c2dcf50703def Signed-off-by: xiaofeng <xiaofeng5@xiaomi.com> |
||
![]() |
e8fce59434 |
BACKPORT: FROMGIT: cgroup: Use separate src/dst nodes when preloading css_sets for migration
Each cset (css_set) is pinned by its tasks. When we're moving tasks around
across csets for a migration, we need to hold the source and destination
csets to ensure that they don't go away while we're moving tasks about. This
is done by linking cset->mg_preload_node on either the
mgctx->preloaded_dst_csets or mgctx->preloaded_dst_csets list. Using the
same cset->mg_preload_node for both the src and dst lists was deemed okay as
a cset can't be both the source and destination at the same time.
Unfortunately, this overloading becomes problematic when multiple tasks are
involved in a migration and some of them are identity noop migrations while
others are actually moving across cgroups. For example, this can happen with
the following sequence on cgroup1:
#1> mkdir -p /sys/fs/cgroup/misc/a/b
#2> echo $$ > /sys/fs/cgroup/misc/a/cgroup.procs
#3> RUN_A_COMMAND_WHICH_CREATES_MULTIPLE_THREADS &
#4> PID=$!
#5> echo $PID > /sys/fs/cgroup/misc/a/b/tasks
#6> echo $PID > /sys/fs/cgroup/misc/a/cgroup.procs
the process including the group leader back into a. In this final migration,
non-leader threads would be doing identity migration while the group leader
is doing an actual one.
After #3, let's say the whole process was in cset A, and that after #4, the
leader moves to cset B. Then, during #6, the following happens:
1. cgroup_migrate_add_src() is called on B for the leader.
2. cgroup_migrate_add_src() is called on A for the other threads.
3. cgroup_migrate_prepare_dst() is called. It scans the src list.
3. It notices that B wants to migrate to A, so it tries to A to the dst
list but realizes that its ->mg_preload_node is already busy.
4. and then it notices A wants to migrate to A as it's an identity
migration, it culls it by list_del_init()'ing its ->mg_preload_node and
putting references accordingly.
5. The rest of migration takes place with B on the src list but nothing on
the dst list.
This means that A isn't held while migration is in progress. If all tasks
leave A before the migration finishes and the incoming task pins it, the
cset will be destroyed leading to use-after-free.
This is caused by overloading cset->mg_preload_node for both src and dst
preload lists. We wanted to exclude the cset from the src list but ended up
inadvertently excluding it from the dst list too.
This patch fixes the issue by separating out cset->mg_preload_node into
->mg_src_preload_node and ->mg_dst_preload_node, so that the src and dst
preloadings don't interfere with each other.
Bug: 236582926
Change-Id: Ieaf1c0c8fc23753570897fd6e48a54335ab939ce
Signed-off-by: Tejun Heo <tj@kernel.org>
Reported-by: Mukesh Ojha <quic_mojha@quicinc.com>
Reported-by: shisiyuan <shisiyuan19870131@gmail.com>
Link: http://lkml.kernel.org/r/1654187688-27411-1-git-send-email-shisiyuan@xiaomi.com
Link: https://lore.kernel.org/lkml/Yh+RGIJ0f3nrqIiN@slm.duckdns.org/#t
Fixes:
|
||
![]() |
9d60eef1f4 |
Merge keystone/android12-5.10-keystone-qcom-release.110+ (b92ac32 ) into msm-5.10
* refs/heads/tmp-b92ac32: FROMGIT: usb: gadget: uvc: calculate the number of request depending on framesize ANDROID: GKI: Add tracing_is_on interface into symbol list UPSTREAM: usb: gadget: f_mass_storage: Make CD-ROM emulation work with Mac OS-X BACKPORT: io_uring: fix race between timeout flush and removal BACKPORT: net/sched: cls_u32: fix netns refcount changes in u32_change() UPSTREAM: io_uring: always use original task when preparing req identity FROMLIST: remoteproc: Fix dma_mem leak after rproc_shutdown FROMLIST: dma-mapping: Add dma_release_coherent_memory to DMA API ANDROID: Update QCOM symbol list for __reset_control_get ANDROID: vendor_hooks: Add hooks for mutex BACKPORT: can: ems_usb: ems_usb_start_xmit(): fix double dev_kfree_skb() in error path ANDROID: fix up abi issue with struct snd_pcm_runtime, again Revert "coredump: Snapshot the vmas in do_coredump" Revert "coredump: Remove the WARN_ON in dump_vma_snapshot" Revert "coredump: Use the vma snapshot in fill_files_note" Revert "pstore: Don't use semaphores in always-atomic-context code" Revert "PCI: Reduce warnings on possible RW1C corruption" ANDROID: GKI: fix crc issue with commit |
||
![]() |
5146690a6c |
ANDROID: dma/debug: fix warning of check_sync
check_sync() checks for whether device driver DMA sync sg list entry count equals to map sg list entry count, but in struct dma_buf_ops, there has below interface: int (*begin_cpu_access_partial) int (*end_cpu_access_partial) When vendor implement these interface in dma heap to support dma-buf partial cache sync for performance improvement, in dma_buf_ops of heap, we copy a sgtable from orginal sgtable but with necessary nents, it will less then nents used in map attachment, in the way, the following warning had occurred: DMA-API: device_xxx: device driver syncs DMA sg list with different entry count [map count=5] [sync count=1] Call trace: check_sync+0x6d8/0xb40 debug_dma_sync_sg_for_cpu+0x114/0x16c dma_sync_sg_for_cpu+0xa0/0xe4 So need change check conditation in check_sync to support dma-buf partial cache sync. Bug: 236343688 Signed-off-by: Mingyuan Ma <mingyuan.ma@mediatek.com> Signed-off-by: Yunfei Wang <yf.wang@mediatek.com> Change-Id: I2f4db3b156e752eeb022927957f77a3fa534a573 (cherry picked from commit d61fe3ad4bab3f4bc040e7ac0c7ec919b50e8a43) |
||
![]() |
a71f2e154d |
Merge remote-tracking branch into HEAD
* keystone/mirror-android12-5.10-2022-06: (1166 commits)
BACKPORT: exfat: improve write performance when dirsync enabled
FROMGIT: usb: gadget: uvc: calculate the number of request depending on framesize
ANDROID: GKI: Add tracing_is_on interface into symbol list
UPSTREAM: usb: gadget: f_mass_storage: Make CD-ROM emulation work with Mac OS-X
BACKPORT: io_uring: fix race between timeout flush and removal
BACKPORT: net/sched: cls_u32: fix netns refcount changes in u32_change()
UPSTREAM: io_uring: always use original task when preparing req identity
FROMLIST: remoteproc: Fix dma_mem leak after rproc_shutdown
FROMLIST: dma-mapping: Add dma_release_coherent_memory to DMA API
ANDROID: Update QCOM symbol list for __reset_control_get
ANDROID: vendor_hooks: Add hooks for mutex
BACKPORT: can: ems_usb: ems_usb_start_xmit(): fix double dev_kfree_skb() in error path
ANDROID: fix up abi issue with struct snd_pcm_runtime, again
Revert "coredump: Snapshot the vmas in do_coredump"
Revert "coredump: Remove the WARN_ON in dump_vma_snapshot"
Revert "coredump: Use the vma snapshot in fill_files_note"
Revert "pstore: Don't use semaphores in always-atomic-context code"
Revert "PCI: Reduce warnings on possible RW1C corruption"
ANDROID: GKI: fix crc issue with commit
|
||
![]() |
2ea7d635a5 |
sched: walt: update newidle balancing
There is a case where when big cluster(Gold/Prime) is entering idle it fails to pull task from lower cluster if lower cluster is only having a single big task in it's runqueue. The reason for failure is, walt skips newidle balance for above condition if "idle_cpu" check fails for destination core and for newidle balance destination core is entering idle (not yet idle) thus "idle_cpu" returns false. Fix this by skipping "idle_cpu" check for new idle balancing. Change-Id: Id973bd8a67fbfcd9d47bec9a0894b697412f2c90 Signed-off-by: Ashay Jaiswal <quic_ashayj@quicinc.com> |
||
![]() |
6966d0f7fe |
sched: walt: add nested spinlock api
Use nested spin lock api to avoid deadlock warning Change-Id: Ia2aed8f025bb209876ff87ba5a9e32b2b80718d8 Signed-off-by: Ashay Jaiswal <quic_ashayj@quicinc.com> |
||
![]() |
6d1046d9a7 |
Merge "Merge keystone/android12-5.10-keystone-qcom-release.101+ (ac14ef0 ) into msm-5.10"
|
||
![]() |
b3d2d42542 |
Merge keystone/android12-5.10-keystone-qcom-release.101+ (ac14ef0 ) into msm-5.10
* refs/heads/tmp-ac14ef0: BACKPORT: can: usb_8dev: usb_8dev_start_xmit(): fix double dev_kfree_skb() in error path ANDROID: GKI: Update symbols to symbol list ANDROID: oplus: Update the ABI xml and symbol list UPSTREAM: remoteproc: Fix count check in rproc_coredump_write() BACKPORT: esp: Fix possible buffer overflow in ESP transformation ANDROID: Fix the drain_all_pages default condition broken by a hook UPSTREAM: Revert "xfrm: xfrm_state_mtu should return at least 1280 for ipv6" UPSTREAM: xfrm: fix MTU regression ANDROID: signal: Add vendor hook for memory reaping FROMGIT: usb: gadget: uvc: allow for application to cleanly shutdown FROMGIT: usb: dwc3: gadget: increase tx fifo size for ss isoc endpoints UPSTREAM: usb: gadget: configfs: clear deactivation flag in configfs_composite_unbind() FROMGIT: usb: gadget: uvc: remove pause flag use FROMGIT: usb: gadget: uvc: allow changing interface name via configfs UPSTREAM: usb: gadget: uvc: Fix crash when encoding data for usb request UPSTREAM: usb: gadget: uvc: test if ep->desc is valid on ep_queue UPSTREAM: usb: gadget: uvc: only pump video data if necessary UPSTREAM: usb: gadget: uvc: only schedule stream in streaming state UPSTREAM: usb: dwc3: gadget: Give some time to schedule isoc UPSTREAM: usb: gadget: uvc: make uvc_num_requests depend on gadget speed UPSTREAM: usb: gadget: composite: Show warning if function driver's descriptors are incomplete. FROMLIST: kbuild: Add environment variables for userprogs flags ANDROID: dm-bow: Protect Ranges fetched and erased from the RB tree BACKPORT: staging: ion: Prevent incorrect reference counting behavour FROMGIT: net: fix wrong network header length UPSTREAM: mm: fix unexpected zeroed page mapping with zram swap ANDROID: vendor_hooks: Add hooks for mutex UPSTREAM: usb: dwc3: gadget: Replace list_for_each_entry_safe() if using giveback UPSTREAM: usb: dwc3: Issue core soft reset before enabling run/stop UPSTREAM: usb: dwc3: gadget: Wait for ep0 xfers to complete during dequeue ANDROID: Update QCOM symbol list for trace_map/unmap ANDROID: fix KCFLAGS override by __ANDROID_COMMON_KERNEL__ ANDROID: vendor_hooks: tune reclaim scan type for specified mem_cgroup ANDROID: vendor_hooks: Add hooks for rwsem ANDROID: Add flag to indicate compiling against ACK ANDROID: GKI: build damon reclaim FROMLIST: mm/damon/reclaim: Fix the timer always stays active BACKPORT: treewide: Add missing includes masked by cgroup -> bpf dependency UPSTREAM: mm/damon: modify damon_rand() macro to static inline function UPSTREAM: mm/damon: add 'age' of region tracepoint support UPSTREAM: mm/damon: hide kernel pointer from tracepoint event UPSTREAM: mm/damon/vaddr: hide kernel pointer from damon_va_three_regions() failure log UPSTREAM: mm/damon/vaddr: use pr_debug() for damon_va_three_regions() failure logging UPSTREAM: mm/damon/dbgfs: remove an unnecessary variable UPSTREAM: mm/damon: move the implementation of damon_insert_region to damon.h UPSTREAM: mm/damon: add access checking for hugetlb pages UPSTREAM: mm/damon/dbgfs: support all DAMOS stats UPSTREAM: mm/damon/reclaim: provide reclamation statistics UPSTREAM: mm/damon/schemes: account how many times quota limit has exceeded UPSTREAM: mm/damon/schemes: account scheme actions that successfully applied UPSTREAM: mm/damon: convert macro functions to static inline functions UPSTREAM: mm/damon: move damon_rand() definition into damon.h UPSTREAM: mm/damon/schemes: add the validity judgment of thresholds UPSTREAM: mm/damon/vaddr: remove swap_ranges() and replace it with swap() UPSTREAM: mm/damon: remove some unneeded function definitions in damon.h UPSTREAM: mm/damon/core: use abs() instead of diff_of() UPSTREAM: mm/damon: unified access_check function naming rules UPSTREAM: mm/damon/dbgfs: fix 'struct pid' leaks in 'dbgfs_target_ids_write()' UPSTREAM: mm/damon/dbgfs: protect targets destructions with kdamond_lock UPSTREAM: mm/damon/vaddr-test: remove unnecessary variables UPSTREAM: mm/damon/vaddr-test: split a test function having >1024 bytes frame size UPSTREAM: mm/damon/vaddr: remove an unnecessary warning message UPSTREAM: mm/damon/core: remove unnecessary error messages UPSTREAM: mm/damon/dbgfs: remove an unnecessary error message UPSTREAM: mm/damon/core: use better timer mechanisms selection threshold UPSTREAM: mm/damon/core: fix fake load reports due to uninterruptible sleeps BACKPORT: timers: implement usleep_idle_range() UPSTREAM: mm/damon/dbgfs: fix missed use of damon_dbgfs_lock UPSTREAM: mm/damon/dbgfs: use '__GFP_NOWARN' for user-specified size buffer allocation UPSTREAM: mm/damon: remove return value from before_terminate callback UPSTREAM: mm/damon: fix a few spelling mistakes in comments and a pr_debug message UPSTREAM: mm/damon: simplify stop mechanism UPSTREAM: mm/damon/dbgfs: add adaptive_targets list check before enable monitor_on UPSTREAM: mm/damon: remove unnecessary variable initialization UPSTREAM: mm/damon: introduce DAMON-based Reclamation (DAMON_RECLAIM) UPSTREAM: selftests/damon: support watermarks UPSTREAM: mm/damon/dbgfs: support watermarks UPSTREAM: mm/damon/schemes: activate schemes based on a watermarks mechanism UPSTREAM: tools/selftests/damon: update for regions prioritization of schemes UPSTREAM: mm/damon/dbgfs: support prioritization weights UPSTREAM: mm/damon/vaddr,paddr: support pageout prioritization UPSTREAM: mm/damon/schemes: prioritize regions within the quotas UPSTREAM: mm/damon/selftests: support schemes quotas UPSTREAM: mm/damon/dbgfs: support quotas of schemes UPSTREAM: mm/damon/schemes: implement time quota UPSTREAM: mm/damon/schemes: skip already charged targets and regions UPSTREAM: mm/damon/schemes: implement size quota for schemes application speed control UPSTREAM: mm/damon/paddr: support the pageout scheme UPSTREAM: mm/damon/dbgfs: remove unnecessary variables UPSTREAM: mm/damon/vaddr: constify static mm_walk_ops UPSTREAM: mm/damon/dbgfs: support physical memory monitoring UPSTREAM: mm/damon: implement primitives for physical address space monitoring UPSTREAM: mm/damon/vaddr: separate commonly usable functions UPSTREAM: mm/damon/dbgfs-test: add a unit test case for 'init_regions' UPSTREAM: mm/damon/dbgfs: allow users to set initial monitoring target regions UPSTREAM: selftests/damon: add 'schemes' debugfs tests UPSTREAM: mm/damon/schemes: implement statistics feature UPSTREAM: mm/damon/dbgfs: support DAMON-based Operation Schemes UPSTREAM: mm/damon/vaddr: support DAMON-based Operation Schemes UPSTREAM: mm/damon/core: implement DAMON-based Operation Schemes (DAMOS) UPSTREAM: mm/damon/core: account age of target regions UPSTREAM: mm/damon/core: nullify pointer ctx->kdamond with a NULL UPSTREAM: mm/damon: needn't hold kdamond_lock to print pid of kdamond UPSTREAM: mm/damon: remove unnecessary do_exit() from kdamond UPSTREAM: mm/damon/core: print kdamond start log in debug mode only UPSTREAM: include/linux/damon.h: fix kernel-doc comments for 'damon_callback' UPSTREAM: mm/damon: grammar s/works/work/ UPSTREAM: mm/damon/core-test: fix wrong expectations for 'damon_split_regions_of()' UPSTREAM: mm/damon: don't use strnlen() with known-bogus source length UPSTREAM: mm/damon: add kunit tests UPSTREAM: mm/damon: add user space selftests UPSTREAM: mm/damon/dbgfs: support multiple contexts UPSTREAM: mm/damon/dbgfs: export kdamond pid to the user space UPSTREAM: mm/damon: implement a debugfs-based user space interface UPSTREAM: mm/damon: add a tracepoint UPSTREAM: mm/damon: implement primitives for the virtual memory address spaces UPSTREAM: mm/idle_page_tracking: make PG_idle reusable UPSTREAM: mm/damon: adaptively adjust regions UPSTREAM: mm/damon/core: implement region-based sampling UPSTREAM: mm: introduce Data Access MONitor (DAMON) BACKPORT: net/packet: fix slab-out-of-bounds access in packet_recvmsg() BACKPORT: fuse: fix pipe buffer lifetime for direct_io BACKPORT: dm: fix NULL pointer issue when free bio UPSTREAM: kfence, x86: fix preemptible warning on KPTI-enabled systems ANDROID: ABI: Update allowed list for galaxy ANDROID: abi_gki_aarch64.xml: update based on proper LTO=full setting BACKPORT: virtio-blk: Use blk_validate_block_size() to validate block size ANDROID: add for tuning readahead size BACKPORT: media: v4l2-mem2mem: Apply DST_QUEUE_OFF_BASE on MMAP buffers across ioctls BACKPORT: nl80211: correctly check NL80211_ATTR_REG_ALPHA2 size BACKPORT: ext4: don't BUG if someone dirty pages without asking ext4 first ANDROID: GKI: Update symbols to abi_gki_aarch64_oplus BACKPORT: iommu: Extend mutex lock scope in iommu_probe_device() BACKPORT: iommu: Fix race condition during default domain allocation ANDROID: GKI: Update symbols to symbol list Conflicts: build.config.common Change-Id: I30e0e3ce2527d66896add9fe45d71924557a46f2 Signed-off-by: Sivasri Kumar, Vanka <quic_svanka@quicinc.com> |
||
![]() |
69a36e2dee |
Merge remote-tracking branch into HEAD
* keystone/mirror-android12-5.10-2022-05: (135 commits) BACKPORT: can: usb_8dev: usb_8dev_start_xmit(): fix double dev_kfree_skb() in error path ANDROID: GKI: Update symbols to symbol list ANDROID: oplus: Update the ABI xml and symbol list UPSTREAM: remoteproc: Fix count check in rproc_coredump_write() BACKPORT: esp: Fix possible buffer overflow in ESP transformation ANDROID: Fix the drain_all_pages default condition broken by a hook UPSTREAM: Revert "xfrm: xfrm_state_mtu should return at least 1280 for ipv6" UPSTREAM: xfrm: fix MTU regression ANDROID: signal: Add vendor hook for memory reaping FROMGIT: usb: gadget: uvc: allow for application to cleanly shutdown FROMGIT: usb: dwc3: gadget: increase tx fifo size for ss isoc endpoints UPSTREAM: usb: gadget: configfs: clear deactivation flag in configfs_composite_unbind() FROMGIT: usb: gadget: uvc: remove pause flag use FROMGIT: usb: gadget: uvc: allow changing interface name via configfs UPSTREAM: usb: gadget: uvc: Fix crash when encoding data for usb request UPSTREAM: usb: gadget: uvc: test if ep->desc is valid on ep_queue UPSTREAM: usb: gadget: uvc: only pump video data if necessary UPSTREAM: usb: gadget: uvc: only schedule stream in streaming state UPSTREAM: usb: dwc3: gadget: Give some time to schedule isoc UPSTREAM: usb: gadget: uvc: make uvc_num_requests depend on gadget speed ... Change-Id: I438ffbf5441deb75dadf2150e235232bc53c37ea |
||
![]() |
6a15abd604 |
FROMLIST: dma-mapping: Add dma_release_coherent_memory to DMA API
Add dma_release_coherent_memory to DMA API to allow dma user call it to release dev->dma_mem when the device is removed. Signed-off-by: Mark-PK Tsai <mark-pk.tsai@mediatek.com> Bug: 233721768 Link: https://lore.kernel.org/lkml/20220422062436.14384-2-mark-pk.tsai@mediatek.com/ Change-Id: Ief72cf5bbe18a977bae76a1e5799ebc06b46d791 Signed-off-by: Mark-PK Tsai <mark-pk.tsai@mediatek.com> (cherry picked from commit 137066946c448e67c4b5b344949ab0c3aec62dfa) |
||
![]() |
131b12d50f |
Merge tag 'android12-5.10.110_r01' into android12-5.10
This is the merge of the upstream LTS release of 5.4.110 into the android12-5.10 branch. It contains the following commits: |
||
![]() |
8c3ac02bca |
ANDROID: vendor_hooks: Add hooks for mutex
Due to the existence of optimistic spin, we need to sense whether the owner of the lock has changed in the loop, so as to do priority inheritance on the owner more accurately, trace_android_vh_mutex_wait_start does not meet our needs. Bug: 231647361 Change-Id: Iab2832fd3c352d8c1229348a5e7befced70ee92e Signed-off-by: Liujie Xie <xieliujie@oppo.com> |
||
![]() |
482f31a5ef |
sched: walt: allow silver to help prime during newidle balance
Present newidle balance design doesn't allow farthest cluster to help during newidle balance (silver's newidle balance cannot help prime and prime cannot help silver). For Example: If silver is entering idle and it find's prime core busy then newidle balance will try to find and kick an idle gold core but it will not participate in pulling task from prime to silver. Update the logic to allow silver cluster to help and pull task during newidle balance if none of the cores in the nearest cluster (Gold here) are idle. Change-Id: I0908058d55f344467f559b50209a6bf8bb18b0ef Signed-off-by: Ashay Jaiswal <quic_ashayj@quicinc.com> |
||
![]() |
0974b8411a |
Merge 5.10.117 into android12-5.10-lts
Changes in 5.10.117 batman-adv: Don't skb_split skbuffs with frag_list iwlwifi: iwl-dbg: Use del_timer_sync() before freeing hwmon: (tmp401) Add OF device ID table mac80211: Reset MBSSID parameters upon connection net: Fix features skip in for_each_netdev_feature() net: mscc: ocelot: fix last VCAP IS1/IS2 filter persisting in hardware when deleted net: mscc: ocelot: fix VCAP IS2 filters matching on both lookups net: mscc: ocelot: restrict tc-trap actions to VCAP IS2 lookup 0 net: mscc: ocelot: avoid corrupting hardware counters when moving VCAP filters ipv4: drop dst in multicast routing path drm/nouveau: Fix a potential theorical leak in nouveau_get_backlight_name() netlink: do not reset transport header in netlink_recvmsg() sfc: Use swap() instead of open coding it net: sfc: fix memory leak due to ptp channel mac80211_hwsim: call ieee80211_tx_prepare_skb under RCU protection nfs: fix broken handling of the softreval mount option ionic: fix missing pci_release_regions() on error in ionic_probe() dim: initialize all struct fields hwmon: (ltq-cputemp) restrict it to SOC_XWAY selftests: vm: Makefile: rename TARGETS to VMTARGETS s390/ctcm: fix variable dereferenced before check s390/ctcm: fix potential memory leak s390/lcs: fix variable dereferenced before check net/sched: act_pedit: really ensure the skb is writable net: bcmgenet: Check for Wake-on-LAN interrupt probe deferral net: dsa: bcm_sf2: Fix Wake-on-LAN with mac_link_down() net/smc: non blocking recvmsg() return -EAGAIN when no data and signal_pending net: sfc: ef10: fix memory leak in efx_ef10_mtd_probe() tls: Fix context leak on tls_device_down gfs2: Fix filesystem block deallocation for short writes hwmon: (f71882fg) Fix negative temperature ASoC: max98090: Reject invalid values in custom control put() ASoC: max98090: Generate notifications on changes for custom control ASoC: ops: Validate input values in snd_soc_put_volsw_range() s390: disable -Warray-bounds net: emaclite: Don't advertise 1000BASE-T and do auto negotiation net: sfp: Add tx-fault workaround for Huawei MA5671A SFP ONT tcp: resalt the secret every 10 seconds firmware_loader: use kernel credentials when reading firmware tty/serial: digicolor: fix possible null-ptr-deref in digicolor_uart_probe() tty: n_gsm: fix mux activation issues in gsm_config() usb: cdc-wdm: fix reading stuck on device close usb: typec: tcpci: Don't skip cleanup in .remove() on error usb: typec: tcpci_mt6360: Update for BMC PHY setting USB: serial: pl2303: add device id for HP LM930 Display USB: serial: qcserial: add support for Sierra Wireless EM7590 USB: serial: option: add Fibocom L610 modem USB: serial: option: add Fibocom MA510 modem slimbus: qcom: Fix IRQ check in qcom_slim_probe serial: 8250_mtk: Fix UART_EFR register address serial: 8250_mtk: Fix register address for XON/XOFF character ceph: fix setting of xattrs on async created inodes drm/nouveau/tegra: Stop using iommu_present() i40e: i40e_main: fix a missing check on list iterator net: atlantic: always deep reset on pm op, fixing up my null deref regression cgroup/cpuset: Remove cpus_allowed/mems_allowed setup in cpuset_init_smp() drm/vmwgfx: Initialize drm_mode_fb_cmd2 SUNRPC: Clean up scheduling of autoclose SUNRPC: Prevent immediate close+reconnect SUNRPC: Don't call connect() more than once on a TCP socket SUNRPC: Ensure we flush any closed sockets before xs_xprt_free() net: phy: Fix race condition on link status change arm[64]/memremap: don't abuse pfn_valid() to ensure presence of linear map ping: fix address binding wrt vrf usb: gadget: uvc: rename function to be more consistent usb: gadget: uvc: allow for application to cleanly shutdown io_uring: always use original task when preparing req identity SUNRPC: Fix fall-through warnings for Clang Linux 5.10.117 Signed-off-by: Greg Kroah-Hartman <gregkh@google.com> Change-Id: I677e4d4d12cbccaffce43327f7ae09f8f3521497 |
||
![]() |
7e849dbe60 |
cgroup/cpuset: Remove cpus_allowed/mems_allowed setup in cpuset_init_smp()
commit 2685027fca387b602ae565bff17895188b803988 upstream. There are 3 places where the cpu and node masks of the top cpuset can be initialized in the order they are executed: 1) start_kernel -> cpuset_init() 2) start_kernel -> cgroup_init() -> cpuset_bind() 3) kernel_init_freeable() -> do_basic_setup() -> cpuset_init_smp() The first cpuset_init() call just sets all the bits in the masks. The second cpuset_bind() call sets cpus_allowed and mems_allowed to the default v2 values. The third cpuset_init_smp() call sets them back to v1 values. For systems with cgroup v2 setup, cpuset_bind() is called once. As a result, cpu and memory node hot add may fail to update the cpu and node masks of the top cpuset to include the newly added cpu or node in a cgroup v2 environment. For systems with cgroup v1 setup, cpuset_bind() is called again by rebind_subsystem() when the v1 cpuset filesystem is mounted as shown in the dmesg log below with an instrumented kernel. [ 2.609781] cpuset_bind() called - v2 = 1 [ 3.079473] cpuset_init_smp() called [ 7.103710] cpuset_bind() called - v2 = 0 smp_init() is called after the first two init functions. So we don't have a complete list of active cpus and memory nodes until later in cpuset_init_smp() which is the right time to set up effective_cpus and effective_mems. To fix this cgroup v2 mask setup problem, the potentially incorrect cpus_allowed & mems_allowed setting in cpuset_init_smp() are removed. For cgroup v2 systems, the initial cpuset_bind() call will set the masks correctly. For cgroup v1 systems, the second call to cpuset_bind() will do the right setup. cc: stable@vger.kernel.org Signed-off-by: Waiman Long <longman@redhat.com> Tested-by: Feng Tang <feng.tang@intel.com> Reviewed-by: Michal Koutný <mkoutny@suse.com> Signed-off-by: Tejun Heo <tj@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
||
![]() |
3f70116e5f |
Merge 5.10.115 into android12-5.10-lts
Changes in 5.10.115 MIPS: Fix CP0 counter erratum detection for R4k CPUs parisc: Merge model and model name into one line in /proc/cpuinfo ALSA: hda/realtek: Add quirk for Yoga Duet 7 13ITL6 speakers ALSA: fireworks: fix wrong return count shorter than expected by 4 bytes mmc: sdhci-msm: Reset GCC_SDCC_BCR register for SDHC mmc: core: Set HS clock speed before sending HS CMD13 gpiolib: of: fix bounds check for 'gpio-reserved-ranges' KVM: x86/svm: Account for family 17h event renumberings in amd_pmc_perf_hw_id iommu/vt-d: Calculate mask for non-aligned flushes drm/amd/display: Avoid reading audio pattern past AUDIO_CHANNELS_COUNT Revert "SUNRPC: attempt AF_LOCAL connect on setup" firewire: fix potential uaf in outbound_phy_packet_callback() firewire: remove check of list iterator against head past the loop body firewire: core: extend card->lock in fw_core_handle_bus_reset net: stmmac: disable Split Header (SPH) for Intel platforms genirq: Synchronize interrupt thread startup ASoC: da7219: Fix change notifications for tone generator frequency ASoC: wm8958: Fix change notifications for DSP controls ASoC: meson: Fix event generation for AUI ACODEC mux ASoC: meson: Fix event generation for G12A tohdmi mux ASoC: meson: Fix event generation for AUI CODEC mux s390/dasd: fix data corruption for ESE devices s390/dasd: prevent double format of tracks for ESE devices s390/dasd: Fix read for ESE with blksize < 4k s390/dasd: Fix read inconsistency for ESE DASD devices can: grcan: grcan_close(): fix deadlock can: isotp: remove re-binding of bound socket can: grcan: use ofdev->dev when allocating DMA memory can: grcan: grcan_probe(): fix broken system id check for errata workaround needs can: grcan: only use the NAPI poll budget for RX nfc: replace improper check device_is_registered() in netlink related functions nfc: nfcmrvl: main: reorder destructive operations in nfcmrvl_nci_unregister_dev to avoid bugs NFC: netlink: fix sleep in atomic bug when firmware download timeout gpio: pca953x: fix irq_stat not updated when irq is disabled (irq_mask not set) hwmon: (adt7470) Fix warning on module removal ASoC: dmaengine: Restore NULL prepare_slave_config() callback net/mlx5e: Fix trust state reset in reload net/mlx5e: Don't match double-vlan packets if cvlan is not set net/mlx5e: CT: Fix queued up restore put() executing after relevant ft release net/mlx5e: Fix the calling of update_buffer_lossy() API net/mlx5: Avoid double clear or set of sync reset requested selftests/seccomp: Don't call read() on TTY from background pgrp RDMA/siw: Fix a condition race issue in MPA request processing NFSv4: Don't invalidate inode attributes on delegation return net: ethernet: mediatek: add missing of_node_put() in mtk_sgmii_init() net: dsa: mt7530: add missing of_node_put() in mt7530_setup() net: stmmac: dwmac-sun8i: add missing of_node_put() in sun8i_dwmac_register_mdio_mux() net: cpsw: add missing of_node_put() in cpsw_probe_dt() net: emaclite: Add error handling for of_address_to_resource() hinic: fix bug of wq out of bound access selftests: mirror_gre_bridge_1q: Avoid changing PVID while interface is operational bnxt_en: Fix possible bnxt_open() failure caused by wrong RFS flag bnxt_en: Fix unnecessary dropping of RX packets selftests: ocelot: tc_flower_chains: specify conform-exceed action for policer smsc911x: allow using IRQ0 btrfs: always log symlinks in full mode net: igmp: respect RCU rules in ip_mc_source() and ip_mc_msfilter() kvm: x86/cpuid: Only provide CPUID leaf 0xA if host has architectural PMU net/mlx5: Fix slab-out-of-bounds while reading resource dump menu x86/kvm: Preserve BSP MSR_KVM_POLL_CONTROL across suspend/resume KVM: x86: Do not change ICR on write to APIC_SELF_IPI KVM: x86/mmu: avoid NULL-pointer dereference on page freeing bugs KVM: LAPIC: Enable timer posted-interrupt only when mwait/hlt is advertised rcu: Fix callbacks processing time limit retaining cond_resched() rcu: Apply callbacks processing time limit only on softirq block-map: add __GFP_ZERO flag for alloc_page in function bio_copy_kern dm: interlock pending dm_io and dm_wait_for_bios_completion PCI: aardvark: Clear all MSIs at setup PCI: aardvark: Fix reading MSI interrupt number mmc: rtsx: add 74 Clocks in power on flow Linux 5.10.115 Signed-off-by: Greg Kroah-Hartman <gregkh@google.com> Change-Id: I7fb58d6de4b0d2c26f4d83f4e59d4915993571a5 |
||
![]() |
a22d66eb51 |
rcu: Apply callbacks processing time limit only on softirq
commit a554ba288845fd3f6f12311fd76a51694233458a upstream. Time limit only makes sense when callbacks are serviced in softirq mode because: _ In case we need to get back to the scheduler, cond_resched_tasks_rcu_qs() is called after each callback. _ In case some other softirq vector needs the CPU, the call to local_bh_enable() before cond_resched_tasks_rcu_qs() takes care about them via a call to do_softirq(). Therefore, make sure the time limit only applies to softirq mode. Reviewed-by: Valentin Schneider <valentin.schneider@arm.com> Tested-by: Valentin Schneider <valentin.schneider@arm.com> Tested-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Frederic Weisbecker <frederic@kernel.org> Cc: Valentin Schneider <valentin.schneider@arm.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Cc: Josh Triplett <josh@joshtriplett.org> Cc: Joel Fernandes <joel@joelfernandes.org> Cc: Boqun Feng <boqun.feng@gmail.com> Cc: Neeraj Upadhyay <neeraju@codeaurora.org> Cc: Uladzislau Rezki <urezki@gmail.com> Cc: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Paul E. McKenney <paulmck@kernel.org> [UR: backport to 5.10-stable] Signed-off-by: Uladzislau Rezki (Sony) <urezki@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
||
![]() |
40fb3812d9 |
rcu: Fix callbacks processing time limit retaining cond_resched()
commit 3e61e95e2d095e308616cba4ffb640f95a480e01 upstream. The callbacks processing time limit makes sure we are not exceeding a given amount of time executing the queue. However its "continue" clause bypasses the cond_resched() call on rcuc and NOCB kthreads, delaying it until we reach the limit, which can be very long... Make sure the scheduler has a higher priority than the time limit. Reviewed-by: Valentin Schneider <valentin.schneider@arm.com> Tested-by: Valentin Schneider <valentin.schneider@arm.com> Tested-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Frederic Weisbecker <frederic@kernel.org> Cc: Valentin Schneider <valentin.schneider@arm.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Cc: Josh Triplett <josh@joshtriplett.org> Cc: Joel Fernandes <joel@joelfernandes.org> Cc: Boqun Feng <boqun.feng@gmail.com> Cc: Neeraj Upadhyay <neeraju@codeaurora.org> Cc: Uladzislau Rezki <urezki@gmail.com> Cc: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Paul E. McKenney <paulmck@kernel.org> [UR: backport to 5.10-stable + commit update] Signed-off-by: Uladzislau Rezki (Sony) <urezki@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
||
![]() |
e6e61aab49 |
genirq: Synchronize interrupt thread startup
commit 8707898e22fd665bc1d7b18b809be4b56ce25bdd upstream. A kernel hang can be observed when running setserial in a loop on a kernel with force threaded interrupts. The sequence of events is: setserial open("/dev/ttyXXX") request_irq() do_stuff() -> serial interrupt -> wake(irq_thread) desc->threads_active++; close() free_irq() kthread_stop(irq_thread) synchronize_irq() <- hangs because desc->threads_active != 0 The thread is created in request_irq() and woken up, but does not get on a CPU to reach the actual thread function, which would handle the pending wake-up. kthread_stop() sets the should stop condition which makes the thread immediately exit, which in turn leaves the stale threads_active count around. This problem was introduced with commit |
||
![]() |
ca9b002a16 |
Merge 5.10.113 into android12-5.10-lts
Changes in 5.10.113 etherdevice: Adjust ether_addr* prototypes to silence -Wstringop-overead mm: page_alloc: fix building error on -Werror=array-compare tracing: Dump stacktrace trigger to the corresponding instance perf tools: Fix segfault accessing sample_id xyarray gfs2: assign rgrp glock before compute_bitstructs net/sched: cls_u32: fix netns refcount changes in u32_change() ALSA: usb-audio: Clear MIDI port active flag after draining ALSA: hda/realtek: Add quirk for Clevo NP70PNP dm: fix mempool NULL pointer race when completing IO ASoC: atmel: Remove system clock tree configuration for at91sam9g20ek ASoC: msm8916-wcd-digital: Check failure for devm_snd_soc_register_component ASoC: codecs: wcd934x: do not switch off SIDO Buck when codec is in use dmaengine: imx-sdma: Fix error checking in sdma_event_remap dmaengine: mediatek:Fix PM usage reference leak of mtk_uart_apdma_alloc_chan_resources spi: spi-mtk-nor: initialize spi controller after resume esp: limit skb_page_frag_refill use to a single page igc: Fix infinite loop in release_swfw_sync igc: Fix BUG: scheduling while atomic rxrpc: Restore removed timer deletion net/smc: Fix sock leak when release after smc_shutdown() net/packet: fix packet_sock xmit return value checking ip6_gre: Avoid updating tunnel->tun_hlen in __gre6_xmit() ip6_gre: Fix skb_under_panic in __gre6_xmit() net/sched: cls_u32: fix possible leak in u32_init_knode() l3mdev: l3mdev_master_upper_ifindex_by_index_rcu should be using netdev_master_upper_dev_get_rcu ipv6: make ip6_rt_gc_expire an atomic_t netlink: reset network and mac headers in netlink_dump() net: stmmac: Use readl_poll_timeout_atomic() in atomic state dmaengine: idxd: add RO check for wq max_batch_size write dmaengine: idxd: add RO check for wq max_transfer_size write selftests: mlxsw: vxlan_flooding: Prevent flooding of unwanted packets arm64/mm: Remove [PUD|PMD]_TABLE_BIT from [pud|pmd]_bad() arm64: mm: fix p?d_leaf() ARM: vexpress/spc: Avoid negative array index when !SMP reset: tegra-bpmp: Restore Handle errors in BPMP response platform/x86: samsung-laptop: Fix an unsigned comparison which can never be negative ALSA: usb-audio: Fix undefined behavior due to shift overflowing the constant arm64: dts: imx: Fix imx8*-var-som touchscreen property sizes vxlan: fix error return code in vxlan_fdb_append cifs: Check the IOCB_DIRECT flag, not O_DIRECT net: atlantic: Avoid out-of-bounds indexing mt76: Fix undefined behavior due to shift overflowing the constant brcmfmac: sdio: Fix undefined behavior due to shift overflowing the constant dpaa_eth: Fix missing of_node_put in dpaa_get_ts_info() drm/msm/mdp5: check the return of kzalloc() net: macb: Restart tx only if queue pointer is lagging scsi: qedi: Fix failed disconnect handling stat: fix inconsistency between struct stat and struct compat_stat nvme: add a quirk to disable namespace identifiers nvme-pci: disable namespace identifiers for Qemu controllers EDAC/synopsys: Read the error count from the correct register mm, hugetlb: allow for "high" userspace addresses oom_kill.c: futex: delay the OOM reaper to allow time for proper futex cleanup mm/mmu_notifier.c: fix race in mmu_interval_notifier_remove() ata: pata_marvell: Check the 'bmdma_addr' beforing reading dma: at_xdmac: fix a missing check on list iterator net: atlantic: invert deep par in pm functions, preventing null derefs xtensa: patch_text: Fixup last cpu should be master xtensa: fix a7 clobbering in coprocessor context load/store openvswitch: fix OOB access in reserve_sfa_size() gpio: Request interrupts after IRQ is initialized ASoC: soc-dapm: fix two incorrect uses of list iterator e1000e: Fix possible overflow in LTR decoding ARC: entry: fix syscall_trace_exit argument arm_pmu: Validate single/group leader events sched/pelt: Fix attach_entity_load_avg() corner case perf/core: Fix perf_mmap fail when CONFIG_PERF_USE_VMALLOC enabled drm/panel/raspberrypi-touchscreen: Avoid NULL deref if not initialised drm/panel/raspberrypi-touchscreen: Initialise the bridge in prepare KVM: PPC: Fix TCE handling for VFIO drm/vc4: Use pm_runtime_resume_and_get to fix pm_runtime_get_sync() usage powerpc/perf: Fix power9 event alternatives perf report: Set PERF_SAMPLE_DATA_SRC bit for Arm SPE event ext4: fix fallocate to use file_modified to update permissions consistently ext4: fix symlink file size not match to file content ext4: fix use-after-free in ext4_search_dir ext4: limit length to bitmap_maxbytes - blocksize in punch_hole ext4, doc: fix incorrect h_reserved size ext4: fix overhead calculation to account for the reserved gdt blocks ext4: force overhead calculation if the s_overhead_cluster makes no sense can: isotp: stop timeout monitoring when no first frame was sent jbd2: fix a potential race while discarding reserved buffers after an abort spi: atmel-quadspi: Fix the buswidth adjustment between spi-mem and controller staging: ion: Prevent incorrect reference counting behavour block/compat_ioctl: fix range check in BLKGETSIZE Revert "net: micrel: fix KS8851_MLL Kconfig" Linux 5.10.113 Signed-off-by: Greg Kroah-Hartman <gregkh@google.com> Change-Id: I4ed10699cbb32b89caf79b8b4a2a35b3d8824115 |
||
![]() |
e27ad1d211 |
ANDROID: signal: Add vendor hook for memory reaping
Since commit
|
||
![]() |
f64cd19a00 |
Merge branch 'android12-5.10' into android12-5.10-lts
Sync up with android12-5.10 for the following commits: |
||
![]() |
66b810a8a4 | Merge "sched: walt: fix out of bound access" |