Commit Graph

211 Commits

Author SHA1 Message Date
Greg Kroah-Hartman 1289e04b48 Merge tag 'android12-5.10.198_r00' into android12-5.10
This merges catches the android12-5.10 branch up with the 5.10.198 LTS
release.  Included in here are the following commits:

* 9db823a19d Revert "netfilter: handle the connecting collision properly in nf_conntrack_proto_sctp"
* f95f372cf9 Revert "net: bridge: use DEV_STATS_INC()"
*   3e7bedcc0e Merge 5.10.198 into android12-5.10-lts
|\
| * a8d812240f Linux 5.10.198
| * 660627c71b xen/events: replace evtchn_rwlock with RCU
| * 1e3d016a95 mmc: renesas_sdhi: only reset SCC when its pointer is populated
| * a7d86a77c3 netfilter: nftables: exthdr: fix 4-byte stack OOB write
| * 84f6b686df netfilter: nf_tables: fix kdoc warnings after gc rework
| * c17446c008 parisc: Restore __ldcw_align for PA-RISC 2.0 processors
| * cfc333393a RDMA/mlx5: Fix NULL string error
| * 0d520cdb0c RDMA/siw: Fix connection failure handling
| * 5a4a6a47e0 RDMA/uverbs: Fix typo of sizeof argument
| * 626868282c RDMA/cma: Fix truncation compilation warning in make_cma_ports
| * 7de0e42444 RDMA/cma: Initialize ib_sa_multicast structure to 0 when join
| * 36953b4da7 gpio: pxa: disable pinctrl calls for MMP_GPIO
| * 6ad972e668 gpio: aspeed: fix the GPIO number passed to pinctrl_gpio_set_config()
| * d7d8f1a679 IB/mlx4: Fix the size of a buffer in add_port_entries()
| * 204c2d485f of: dynamic: Fix potential memory leak in of_changeset_action()
| * b74f12f98b RDMA/core: Require admin capabilities to set system parameters
| * ccd87fe7a0 dm zoned: free dmz->ddev array in dmz_put_zoned_devices
| * 82d87c944e cpupower: add Makefile dependencies for install targets
| * 492241613c sctp: update hb timer immediately after users change hb_interval
| * f876584938 sctp: update transport state when processing a dupcook packet
| * ff346b01eb tcp: fix delayed ACKs for MSS boundary condition
| * 677aaa261e tcp: fix quick-ack counting to count actual ACKs of new data
| * 6a24d0661f tipc: fix a potential deadlock on &tx->lock
| * b9f1568ba3 net: stmmac: dwmac-stm32: fix resume on STM32 MCU
| * 3a5142f017 netfilter: nf_tables: nft_set_rbtree: fix spurious insertion failure
| * 0ba9348532 netfilter: handle the connecting collision properly in nf_conntrack_proto_sctp
| * b212f361a5 net: ethernet: ti: am65-cpsw: Fix error code in am65_cpsw_nuss_init_tx_chns()
| * dba849cc98 net: nfc: llcp: Add lock when modifying device list
| * 30bc4d7aeb net: usb: smsc75xx: Fix uninit-value access in __smsc75xx_read_reg
| * d44346dda7 net: dsa: mv88e6xxx: Avoid EEPROM timeout when EEPROM is absent
| * 96b2e10903 ipv4, ipv6: Fix handling of transhdrlen in __ip{,6}_append_data()
| * 2ea52a2fb8 net: fix possible store tearing in neigh_periodic_work()
| * 6e3d9e5cab modpost: add missing else to the "of" check
| * 225cd4f67b NFSv4: Fix a nfs4_state_manager() race
| * d8f2ba9ec3 ima: rework CONFIG_IMA dependency block
| * 77f82df960 scsi: target: core: Fix deadlock due to recursive locking
| * a9430129d8 ima: Finish deprecation of IMA_TRUSTED_KEYRING Kconfig
| * 725fd20805 regmap: rbtree: Fix wrong register marked as in-cache when creating new node
| * 666cdc43df wifi: mt76: mt76x02: fix MT76x0 external LNA gain handling
| * 54a4faab2b drivers/net: process the result of hdlc_open() and add call of hdlc_close() in uhdlc_close()
| * 93dd471d3a bpf: Fix tr dereferencing
| * 10a18c8bac wifi: mwifiex: Fix oob check condition in mwifiex_process_rx_packet
| * 8c15c1bcc5 wifi: iwlwifi: dbg_ini: fix structure packing
| * a5f643ab11 ubi: Refuse attaching if mtd's erasesize is 0
| * 33420a8206 arm64: Add Cortex-A520 CPU part definition
| * 81d03e2518 net: prevent rewrite of msg_name in sock_sendmsg()
| * 72fc02ebfc net: replace calls to sock->ops->connect() with kernel_connect()
| * 1aeff207e2 wifi: mwifiex: Fix tlv_buf_left calculation
| * f6f25930fa qed/red_ll2: Fix undefined behavior bug in struct qed_ll2_info
| * b9c4b3ca90 scsi: zfcp: Fix a double put in zfcp_port_enqueue()
| * 04b6b67a3e Revert "PCI: qcom: Disable write access to read only registers for IP v2.3.3"
| * c2cf152e8b Revert "clk: imx: pll14xx: dynamically configure PLL for 393216000/361267200Hz"
| * f94471c0cc block: fix use-after-free of q->q_usage_counter
| * 0d6987d4a3 rbd: take header_rwsem in rbd_dev_refresh() only when updating
| * d3d170c5fc rbd: decouple parent info read-in from updating rbd_dev
| * 3ceb306f9b rbd: decouple header read-in from updating rbd_dev->header
| * 7c4f11d73b rbd: move rbd_dev_refresh() definition
| * d0952ce316 drm/mediatek: Fix backport issue in mtk_drm_gem_prime_vmap()
| * c33d75a57a ring-buffer: Fix bytes info in per_cpu buffer stats
| * 0ecde7dd76 ring-buffer: remove obsolete comment for free_buffer_page()
| * 2ad1a1d3d6 NFSv4: Fix a state manager thread deadlock regression
| * ec4325e806 NFS: rename nfs_client_kset to nfs_kset
| * 598539f38c NFS: Cleanup unused rpc_clnt variable
| * 19f3d5d13b spi: zynqmp-gqspi: fix clock imbalance on probe failure
| * 2cdec9c13f spi: spi-zynqmp-gqspi: Fix runtime PM imbalance in zynqmp_qspi_probe
| * ae03dafc37 fs: binfmt_elf_efpic: fix personality for ELF-FDPIC
| * 8ec1abb59a ata: libata-sata: increase PMP SRST timeout to 10s
| * dc0bd0f2da ata: libata-core: Do not register PM operations for SAS ports
| * 531d9f6dbf ata: libata-core: Fix port and device removal
| * 99d308c319 ata: libata-core: Fix ata_port_request_pm() locking
| * eaf4496662 net: thunderbolt: Fix TCPv6 GSO checksum calculation
| * 72595dbfca bpf: Fix BTF_ID symbol generation collision in tools/
| * 6a80578bd4 bpf: Fix BTF_ID symbol generation collision
| * cbbfdb4bab btrfs: properly report 0 avail for very full file systems
| * ef47f25e98 ring-buffer: Update "shortest_full" in polling
| * b7a0df4c08 proc: nommu: /proc/<pid>/maps: release mmap read lock
| * acc7fc82d0 Revert "SUNRPC dont update timeout value on connection reset"
| * e3b8c9e0fc i2c: i801: unregister tco_pdev in i801_probe() error path
| * b664e9db8d ata: libata-scsi: ignore reserved bits for REPORT SUPPORTED OPERATION CODES
| * 25872c67de ALSA: hda: Disable power save for solving pop issue on Lenovo ThinkCentre M70q
| * 5a03b42ae1 netfilter: nf_tables: disallow rule removal from chain binding
| * 7130a87ca3 nilfs2: fix potential use after free in nilfs_gccache_submit_read_data()
| * e14afa4450 serial: 8250_port: Check IRQ data before use
| * 6d5c886293 Revert "tty: n_gsm: fix UAF in gsm_cleanup_mux"
| * 14443223e0 Smack:- Use overlay inode label in smack_inode_copy_up()
| * 297c51c63f smack: Retrieve transmuting information in smack_inode_getsecurity()
| * 41de7a6b95 smack: Record transmuting in smk_transmuted
| * 831f18c735 nvme-pci: always return an ERR_PTR from nvme_pci_alloc_dev
| * fb28f89d50 netfilter: nft_exthdr: Fix for unsafe packet data read
| * e18216cd0e netfilter: nft_exthdr: Search chunks in SCTP packets only
| * 152b8ac839 watchdog: iTCO_wdt: Set NO_REBOOT if the watchdog is not already running
| * 13b7d49f33 watchdog: iTCO_wdt: No need to stop the timer in probe
| * 0d599a3f57 nvme-pci: do not set the NUMA node of device if it has none
| * 97e148dcb9 nvme-pci: factor out a nvme_pci_alloc_dev helper
| * 71357c751f nvme-pci: factor the iod mempool creation into a helper
| * 38f82cf860 ACPI: Check StorageD3Enable _DSD property in ACPI code
| * 67025d5654 cgroup: Fix suspicious rcu_dereference_check() usage warning
| * b2788f6d49 sched/cpuacct: Optimize away RCU read lock
| * 82756d8a23 sched/cpuacct: Fix charge percpu cpuusage
| * f8e8e72c58 sched/cpuacct: Fix user/system in shown cpuacct.usage*
| * ef3c728ca0 perf build: Define YYNOMEM as YYNOABORT for bison < 3.81
| * da91481c5d fbdev/sh7760fb: Depend on FB=y
| * ffc459a930 ncsi: Propagate carrier gain/loss events to the NCSI controller
| * 8c2500228b powerpc/watchpoints: Disable preemption in thread_change_pc()
| * f5bdbed036 media: vb2: frame_vector.c: replace WARN_ONCE with a comment
| * ebc9184806 bpf: Clarify error expectations from bpf_clone_redirect
| * 0118244848 spi: nxp-fspi: reset the FLSHxCR1 registers
| * f6cf19c1b3 ata: libata-eh: do not clear ATA_PFLAG_EH_PENDING in ata_eh_reset()
| * 2afd8fcee0 scsi: pm80xx: Avoid leaking tags when processing OPC_INB_SET_CONTROLLER_CONFIG command
| * 0decc581e1 scsi: pm80xx: Use phy-specific SAS address when sending PHY_START command
| * f44e66447c platform/mellanox: mlxbf-bootctl: add NET dependency into Kconfig
| * cee5151c54 ring-buffer: Do not attempt to read past "commit"
| * 2956e33fb4 selftests: fix dependency checker script
| * 9ccce21bd7 ring-buffer: Avoid softlockup in ring_buffer_resize()
| * 5dfcb92905 selftests/ftrace: Correctly enable event in instance-event.tc
| * 38ef4b2e4d scsi: qedf: Add synchronization between I/O completions and abort
| * 2081b2a15b parisc: irq: Make irq_stack_union static to avoid sparse warning
| * f47efdffdc parisc: drivers: Fix sparse warning
| * d967a9472b parisc: iosapic.c: Fix sparse warnings
| * 7b2440c2d6 parisc: sba: Fix compile warning wrt list of SBA devices
| * c793005999 dma-debug: don't call __dma_entry_alloc_check_leak() under free_entries_lock
| * 061f402753 i2c: npcm7xx: Fix callback completion ordering
| * dd81e91b2e gpio: pmic-eic-sprd: Add can_sleep flag for PMIC EIC chip
| * b317f69871 xtensa: boot/lib: fix function prototypes
| * be17dfdcc8 xtensa: boot: don't add include-dirs
| * a10bfbe599 xtensa: iss/network: make functions static
| * 608af5511a xtensa: add default definition for XCHAL_HAVE_DIV32
| * 3696261859 power: supply: ucs1002: fix error code in ucs1002_get_property()
| * eff55feb8b bus: ti-sysc: Fix SYSC_QUIRK_SWSUP_SIDLE_ACT handling for uart wake-up
| * 1bc8867196 ARM: dts: ti: omap: motorola-mapphone: Fix abe_clkctrl warning on boot
| * a2a592adad ARM: dts: Unify pwm-omap-dmtimer node names
| * 2d9c9589da ARM: dts: am335x: Guardian: Update beeper label
| * ef83f35ced ARM: dts: motorola-mapphone: Drop second ti,wlcore compatible value
| * 12a28c379e ARM: dts: motorola-mapphone: Add 1.2GHz OPP
| * afdc40a74a ARM: dts: motorola-mapphone: Configure lower temperature passive cooling
| * 093a9a02d4 ARM: dts: ti: omap: Fix bandgap thermal cells addressing for omap3/4
| * 28e5423ad8 ARM: dts: omap: correct indentation
| * 50789f3723 clk: tegra: fix error return case for recalc_rate
| * 0fd5839e25 bus: ti-sysc: Fix missing AM35xx SoC matching
| * 1d4d846e2a bus: ti-sysc: Use fsleep() instead of usleep_range() in sysc_reset()
| * a8ee76d727 MIPS: Alchemy: only build mmc support helpers if au1xmmc is enabled
| * d678c078f3 btrfs: reset destination buffer when read_extent_buffer() gets invalid range
| * a1f85bc9bc ata: ahci: Add Elkhart Lake AHCI controller
| * 51d190cc98 ata: ahci: Rename board_ahci_mobile
| * 8061c399c8 ata: ahci: Add support for AMD A85 FCH (Hudson D4)
| * 0156cce71f ata: libata: Rename link flag ATA_LFLAG_NO_DB_DELAY
| * 9f0d346630 netfilter: nft_exthdr: Fix non-linear header modification
| * ed60b8014c netfilter: exthdr: add support for tcp option removal
| * 10670abe11 netfilter: nft_exthdr: break evaluation if setting TCP option fails
| * 45b3eb6afc netfilter: nf_tables: add and use nft_thoff helper
| * 39546418b8 netfilter: nf_tables: add and use nft_sk helper
| * af844ba799 netfilter: nft_exthdr: Support SCTP chunks
| * 858ca19216 netfilter: use actual socket sk for REJECT action
| * 2d9ea86f3c media: venus: hfi_venus: Write to VIDC_CTRL_INIT after unmasking interrupts
| * c4cc1f690f media: venus: hfi: Add a 6xx boot logic
| * 4596fece3c media: venus: core: Add differentiator IS_V6(core)
| * 3ed9d3dc24 media: venus: hfi: Define additional 6xx registers
| * ebccb53232 media: venus: hfi,pm,firmware: Convert to block relative addressing
| * 4ccdeb68da media: venus: core: Add io base variables for each block
| * 6d3745bbc3 mmc: renesas_sdhi: register irqs before registering controller
| * 995ef65e4b mmc: tmio: support custom irq masks
| * 97eb045386 mmc: renesas_sdhi: populate SCC pointer at the proper place
| * 7217ceb61a mmc: renesas_sdhi: probe into TMIO after SCC parameters have been setup
| * e492f81251 Input: i8042 - add quirk for TUXEDO Gemini 17 Gen1/Clevo PD70PN
| * 677bff659f Input: i8042 - rename i8042-x86ia64io.h to i8042-acpipnpio.h
| * 3fac8ce48f netfilter: nf_tables: double hook unregistration in netns path
| * e51f30826b netfilter: nf_tables: unregister flowtable hooks on netns exit
| * 5e95c88e90 i2c: mux: demux-pinctrl: check the return value of devm_kstrdup()
| * 0a78bcc2d5 gpio: tb10x: Fix an error handling path in tb10x_gpio_probe()
| * f515112e83 net: rds: Fix possible NULL-pointer dereference
| * 466e88548e bnxt_en: Flush XDP for bnxt_poll_nitroa0()'s NAPI
| * 78106529b3 locking/seqlock: Do the lockdep annotation before locking in do_write_seqcount_begin_nested()
| * a8dd21118b seqlock: Prefix internal seqcount_t-only macros with a "do_"
| * ac01a0dd79 seqlock: Rename __seqprop() users
| * a8460ee6c8 seqlock: avoid -Wshadow warnings
| * f1893feb20 netfilter: ipset: Fix race between IPSET_CMD_CREATE and IPSET_CMD_SWAP
| * b44dd92e2a team: fix null-ptr-deref when team device type is changed
| * 04cc361f02 net: bridge: use DEV_STATS_INC()
| * 1671dc1b25 net: hns3: add 5ms delay before clear firmware reset irq source
| * 309af4a39b net: hns3: only enable unicast promisc when mac table full
| * ae806c74c0 x86/srso: Fix SBPB enablement for spec_rstack_overflow=off
| * 423ba1b3a5 x86/srso: Fix srso_show_state() side effect
| * 1ec40ef6f7 platform/x86: intel_scu_ipc: Fail IPC send if still busy
| * 4c5eaf6d8b platform/x86: intel_scu_ipc: Don't override scu in intel_scu_ipc_dev_simple_command()
| * 441b61d742 platform/x86: intel_scu_ipc: Check status upon timeout in ipc_wait_for_interrupt()
| * c463898b6e platform/x86: intel_scu_ipc: Check status after timeout in busy_loop()
| * 60d73c62e3 dccp: fix dccp_v4_err()/dccp_v6_err() again
| * 09a1c790e1 powerpc/perf/hv-24x7: Update domain value check
| * 8689c9ace9 ipv4: fix null-deref in ipv4_link_failure
| * 47907ebeb7 i40e: Fix VF VLAN offloading when port VLAN is configured
| * a91861446f ASoC: imx-audmix: Fix return error with devm_clk_get()
| * c4ecedf980 selftests: tls: swap the TX and RX sockets in some tests
| * 78ef69b6e7 selftests/tls: Add {} to avoid static checker warning
| * 388c9d3eef bpf: Avoid deadlock when using queue and stack maps from NMI
| * 6dc85d848c netfilter: nf_tables: disallow element removal on anonymous sets
| * a45632f997 ASoC: meson: spdifin: start hw on dai probe
| * 09c85f2d21 netfilter: nf_tables: fix memleak when more than 255 elements expired
| * 4deaf1316b netfilter: nft_set_hash: try later when GC hits EAGAIN on iteration
| * 26d0e4d632 netfilter: nft_set_pipapo: stop GC iteration if GC transaction allocation fails
| * b796c4e4bf netfilter: nft_set_rbtree: use read spinlock to avoid datapath contention
| * c323ed65f6 netfilter: nft_set_rbtree: skip sync GC for new elements in this transaction
| * 09f2dda1e5 netfilter: nf_tables: defer gc run if previous batch is still pending
| * b71dcee2fc netfilter: nf_tables: use correct lock to protect gc_list
| * 23292bdfda netfilter: nf_tables: GC transaction race with abort path
| * dc0b1f0195 netfilter: nf_tables: GC transaction race with netns dismantle
| * 4046f2b56e netfilter: nf_tables: fix GC transaction races with netns and netlink event exit path
| * 891ca5dfe3 netfilter: nf_tables: don't fail inserts if duplicate has expired
| * 911dd3cdf1 netfilter: nf_tables: remove busy mark and gc batch API
| * 77046cb008 netfilter: nft_set_hash: mark set element as dead when deleting from packet path
| * 146c768667 netfilter: nf_tables: adapt set backend to use GC transaction API
| * 448be07748 netfilter: nf_tables: GC transaction API to avoid race with control plane
| * b15ea4017a netfilter: nf_tables: don't skip expired elements during walk
| * f8bf770615 netfilter: nf_tables: integrate pipapo into commit protocol
| * 9b65bff30a tracing: Have event inject files inc the trace array ref count
| * f8a86ab3c4 ext4: do not let fstrim block system suspend
| * c502b09d9b ext4: move setting of trimmed bit into ext4_try_to_trim_range()
| * e78e9f08a2 ext4: replace the traditional ternary conditional operator with with max()/min()
| * cbf6a0f654 ext4: mark group as trimmed only if it was fully scanned
| * 5eaf4a1e06 ext4: change s_last_trim_minblks type to unsigned long
| * 24a86315a3 ext4: scope ret locally in ext4_try_to_trim_range()
| * da1895f731 ext4: add new helper interface ext4_try_to_trim_range()
| * 6f5fc957df ext4: remove the 'group' parameter of ext4_trim_extent
| * 69c9665830 ata: libahci: clear pending interrupt status
| * 11d15a115c ata: ahci: Drop pointless VPRINTK() calls and convert the remaining ones
| * 407bf1c140 tracing: Increase trace array ref count on enable and filter files
| * 3f7df02fa0 SUNRPC: Mark the cred for revalidation if the server rejects it
| * 25ae2b2fdb NFS/pNFS: Report EINVAL errors from connect() to the server
| * 26db22a639 NFS: Use the correct commit info in nfs_join_page_group()
* | 3414e62421 Merge 5.10.197 into android12-5.10-lts
|\|
| * 393e225fe8 Linux 5.10.197
| * 242c5740dd ext4: fix rec_len verify error
| * 8768583b25 scsi: pm8001: Setup IRQs on resume
| * f4fffa1abb scsi: megaraid_sas: Fix deadlock on firmware crashdump
| * 3753e568d6 ata: libata: disallow dev-initiated LPM transitions to unsupported states
| * 993bb01d22 i2c: aspeed: Reset the i2c controller when timeout occurs
| * f5e303fce3 tracefs: Add missing lockdown check to tracefs_create_dir()
| * 96afb318ae nfsd: fix change_info in NFSv4 RENAME replies
| * b3183f5f05 tracing: Have option files inc the trace array ref count
| * ec7eb8b064 tracing: Have current_trace inc the trace array ref count
| * bb3e295a38 drm/amd/display: enable cursor degamma for DCN3+ DRM legacy gamma
| * 2cdcf6481c mm/filemap: fix infinite loop in generic_file_buffered_read()
| * 0c5d5f8e0d proc: fix a dentry lock race between release_task and lookup
| * 8db844077e net/sched: Retire rsvp classifier
| * 7a8f285cb5 drm/amdgpu: fix amdgpu_cs_p1_user_fence
| * 7390bb377b btrfs: release path before inode lookup during the ino lookup ioctl
| * 3d379dd109 btrfs: fix lockdep splat and potential deadlock after failure running delayed items
| * c6422e6f17 ovl: fix incorrect fdput() on aio completion
| * 68308b0a33 attr: block mode changes of symlinks
| * 634444dea8 md/raid1: fix error: ISO C90 forbids mixed declarations
| * 7be3a38f0e samples/hw_breakpoint: fix building without module unloading
| * d20beafaa6 x86/boot/compressed: Reserve more memory for page tables
| * 7635020b9b scsi: lpfc: Fix the NULL vs IS_ERR() bug for debugfs_create_file()
| * f990052376 selftests: tracing: Fix to unmount tracefs for recovering environment
| * ae889fffae scsi: qla2xxx: Fix NULL vs IS_ERR() bug for debugfs_create_dir()
| * 82910aa550 drm: gm12u320: Fix the timeout usage for usb_bulk_msg()
| * df380d6f5c btrfs: compare the correct fsid/metadata_uuid in btrfs_validate_super
| * ab90a3930d btrfs: add a helper to read the superblock metadata_uuid
| * cc87d2bb39 btrfs: move btrfs_pinned_by_swapfile prototype into volumes.h
| * e16f5f8cab perf tools: Add an option to build without libbfd
| * c560958127 perf jevents: Make build dependency on test JSONs
| * 4954c5a054 mtd: rawnand: brcmnand: Fix ECC level field setting for v7.2 controller
| * b87d03ed6a mtd: rawnand: brcmnand: Allow SoC to provide I/O operations
| * 5df5829158 kobject: Add sanity check for kset->kobj.ktype in kset_register()
| * a3efb2b57e media: pci: ipu3-cio2: Initialise timing struct to avoid a compiler warning
| * f354456f8d serial: cpm_uart: Avoid suspicious locking
| * bbe3ff47bf scsi: target: iscsi: Fix buffer overflow in lio_target_nacl_info_show()
| * 6d3a1dd105 usb: gadget: fsl_qe_udc: validate endpoint index for ch9 udc
| * 890d10e6b7 media: pci: cx23885: replace BUG with error return
| * 2ae53dd15e media: tuners: qt1010: replace BUG_ON with a regular error
| * 578b67614a media: dvb-usb-v2: gl861: Fix null-ptr-deref in gl861_i2c_master_xfer
| * a9def3e971 media: az6007: Fix null-ptr-deref in az6007_i2c_xfer()
| * 4a9763d2bc media: anysee: fix null-ptr-deref in anysee_master_xfer
| * c7e5ac737d media: af9005: Fix null-ptr-deref in af9005_i2c_xfer
| * 97fdbdb750 media: dw2102: Fix null-ptr-deref in dw2102_i2c_transfer()
| * 6c01ef65de media: dvb-usb-v2: af9035: Fix null-ptr-deref in af9035_i2c_master_xfer
| * 9f3b2b6668 powerpc/pseries: fix possible memory leak in ibmebus_bus_init()
| * 756747d4b4 jfs: fix invalid free of JFS_IP(ipimap)->i_imap in diUnmount
| * 6f8b344589 fs/jfs: prevent double-free in dbUnmount() after failed jfs_remount()
| * 4bff1d95ba ext2: fix datatype of block number in ext2_xattr_set2()
| * 7993cfc041 md: raid1: fix potential OOB in raid1_remove_disk()
| * 5933cd6139 bus: ti-sysc: Configure uart quirks for k3 SoC
| * 5475b8bea1 drm/exynos: fix a possible null-pointer dereference due to data race in exynos_drm_crtc_atomic_disable()
| * d51d6c42d1 ALSA: hda: intel-dsp-cfg: add LunarLake support
| * fcfb71848e samples/hw_breakpoint: Fix kernel BUG 'invalid opcode: 0000'
| * 9726e8dcab drm/bridge: tc358762: Instruct DSI host to generate HSE packets
| * 672205c6f2 wifi: mac80211_hwsim: drop short frames
| * 5bf52e431c netfilter: ebtables: fix fortify warnings in size_entry_mwt()
| * f6f0a68754 alx: fix OOB-read compiler warning
| * acf0019b93 mmc: sdhci-esdhc-imx: improve ESDHC_FLAG_ERR010450
| * c7a8813d91 tpm_tis: Resend command to recover from data transfer errors
| * 0fc7147c69 crypto: lib/mpi - avoid null pointer deref in mpi_cmp_ui()
| * 03385b243b wifi: wil6210: fix fortify warnings
| * 269eb4e1d5 wifi: mwifiex: fix fortify warning
| * 08fdbe3790 wifi: ath9k: fix printk specifier
| * 268a10c9eb wifi: ath9k: fix fortify warnings
| * 8c19ddc215 crypto: lrw,xts - Replace strlcpy with strscpy
| * cfca20009b devlink: remove reload failed checks in params get/set callbacks
| * 020ecfa7b6 hw_breakpoint: fix single-stepping when using bpf_overflow_handler
| * bfc747fe07 ACPI: video: Add backlight=native DMI quirk for Apple iMac12,1 and iMac12,2
| * dc01bfdc3d perf/smmuv3: Enable HiSilicon Erratum 162001900 quirk for HIP08/09
| * 560014aefb ACPI: video: Add backlight=native DMI quirk for Lenovo Ideapad Z470
| * 3f72fdb20f scftorture: Forgive memory-allocation failure if KASAN
| * 55887adc76 rcuscale: Move rcu_scale_writer() schedule_timeout_uninterruptible() to _idle()
| * f8bab887a4 kernel/fork: beware of __put_task_struct() calling context
| * 625c12dc04 ACPICA: Add AML_NO_OPERAND_RESOLVE flag to Timer
| * a6f4129378 locks: fix KASAN: use-after-free in trace_event_raw_event_filelock_lock
| * b7c3cf2f6c btrfs: output extra debug info if we failed to find an inline backref
| * 69ddafc7a7 autofs: fix memory leak of waitqueues in autofs_catatonic_mode
* | 16aeda0b7d Merge 5.10.196 into android12-5.10-lts
|\|
| * ff0bfa8f23 Linux 5.10.196
| * 2cc1f49862 Revert "configfs: fix a race in configfs_lookup()"
* | 5b4fcff944 Revert "configfs: fix a race in configfs_lookup()"
* | 84ae70e787 FROMLIST: lib/test_meminit: fix off-by-one error in test_pages()
* | a8b0203a91 FROMLIST: drm/mediatek: Fix backport issue in mtk_drm_gem_prime_vmap()
* | cb5f0587c6 Revert "scsi: core: Use 32-bit hostnum in scsi_host_lookup()"
* | 734d166d62 Revert "fs/nls: make load_nls() take a const parameter"
* | db08d2cf82 Revert "tracing: Introduce pipe_cpumask to avoid race on trace_pipes"
* | 73c7cc0b1e Revert "tracing: Zero the pipe cpumask on alloc to avoid spurious -EBUSY"
* | 2b40885cdc Revert "crypto: api - Use work queue in crypto_destroy_instance"
* | 92ecfcb0af Revert "ip_tunnels: use DEV_STATS_INC()"
* | 8026d5839b Merge 5.10.195 into android12-5.10-lts
|\|
| * 5452d1be67 Linux 5.10.195
| * d653c35de0 parisc: Drop loops_per_jiffy from per_cpu struct
| * 1d02ef8c8a drm/amd/display: Fix a bug when searching for insert_above_mpcc
| * 2e18493c42 kcm: Fix error handling for SOCK_DGRAM in kcm_sendmsg().
| * 606a0d8ff6 ixgbe: fix timestamp configuration code
| * 6edf82223f ipv6: fix ip6_sock_set_addr_preferences() typo
| * a5096cc6e7 net/tls: do not free tls_rec on async operation in bpf_exec_tx_verdict()
| * 03be4412d3 platform/mellanox: mlxbf-tmfifo: Drop jumbo frames
| * 687031788f platform/mellanox: mlxbf-tmfifo: Drop the Rx packet if no more descriptors
| * 33db24ad81 kcm: Fix memory leak in error path of kcm_sendmsg()
| * ed584f1e72 r8152: check budget for r8152_poll()
| * 1e90a93ac4 hsr: Fix uninit-value access in fill_frame_info()
| * 75f2de75c1 net: ethernet: mtk_eth_soc: fix possible NULL pointer dereference in mtk_hwlro_get_fdir_all()
| * 61054a8ddb net: ethernet: mvpp2_main: fix possible OOB write in mvpp2_ethtool_get_rxnfc()
| * d1c6c93c27 net/smc: use smc_lgr_list.lock to protect smc_lgr_list.list iterate in smcr_port_add
| * fcb9e879a5 kselftest/runner.sh: Propagate SIGTERM to runner child
| * d94aac13a1 selftests/kselftest/runner/run_one(): allow running non-executable files
| * 7c8ddcdab1 net: ipv4: fix one memleak in __inet_del_ifa()
| * 15dabd02a9 bus: mhi: host: Skip MHI reset if device is in RDDM
| * de20747ee6 ARM: dts: BCM5301X: Extend RAM to full 256MB for Linksys EA6500 V2
| * 81d06d1919 ARM: dts: samsung: exynos4210-i9100: Fix LCD screen's physical size
| * 61fa6a16bb scsi: qla2xxx: Flush mailbox commands on chip reset
| * b5775b8530 scsi: qla2xxx: Fix crash in PCIe error handling
| * 41a660c204 scsi: qla2xxx: Consolidate zio threshold setting for both FCP & NVMe
| * 5c069bce2d scsi: qla2xxx: If fcport is undergoing deletion complete I/O with retry
| * e7ed3585d0 arm64: sdei: abort running SDEI handlers during crash
| * 0b55460c31 ACPI: APEI: explicit init of HEST and GHES in apci_init()
| * c6dc2a2e11 perf hists browser: Fix the number of entries for 'e' key
| * c07e4a4ef3 perf tools: Handle old data in PERF_RECORD_ATTR
| * b52a33a907 perf hists browser: Fix hierarchy mode header
| * d72b01d9f9 drm/amd/display: prevent potential division by zero errors
| * d68f639dde mtd: rawnand: brcmnand: Fix potential false time out warning
| * d00b031266 mtd: rawnand: brcmnand: Fix potential out-of-bounds access in oob write
| * c839a24d6e mtd: rawnand: brcmnand: Fix crash during the panic_write
| * e76cef3dcd btrfs: use the correct superblock to compare fsid in btrfs_validate_super
| * f2873a18c2 btrfs: don't start transaction when joining with TRANS_JOIN_NOSTART
| * 3856e7b118 fuse: nlookup missing decrement in fuse_direntplus_link
| * 1d21b03f77 ata: pata_ftide010: Add missing MODULE_DESCRIPTION
| * 35a3dec703 ata: sata_gemini: Add missing MODULE_DESCRIPTION
| * b1d63e2bbd ext4: add correct group descriptors and reserved GDT blocks to system zone
| * 6612d5b535 sh: boards: Fix CEU buffer size passed to dma_declare_coherent_memory()
| * 97ef9ba7df net: hns3: fix the port information display when sfp is absent
| * 780f60dde2 netfilter: nfnetlink_osf: avoid OOB read
| * e89a361d99 net: dsa: sja1105: fix -ENOSPC when replacing the same tc-cbs too many times
| * 94a3117eff net: dsa: sja1105: fix bandwidth discrepancy between tc-cbs software and offload
| * e90e70343b ip_tunnels: use DEV_STATS_INC()
| * 2539b28a2b idr: fix param name in idr_alloc_cyclic() doc
| * 0878052579 s390/zcrypt: don't leak memory if dev_set_name() fails
| * d878011b5d igb: Change IGB_MIN to allow set rx/tx value between 64 and 80
| * 417b11433e igbvf: Change IGBVF_MIN to allow set rx/tx value between 64 and 80
| * 9444881a37 igc: Change IGC_MIN to allow set rx/tx value between 64 and 80
| * 46f02fc7f6 kcm: Destroy mutex in kcm_exit_net()
| * 746a8df5e4 net: sched: sch_qfq: Fix UAF in qfq_dequeue()
| * 31e08e7fa6 af_unix: Fix data race around sk->sk_err.
| * 90e32f81f9 af_unix: Fix data-races around sk->sk_shutdown.
| * cf29b42766 af_unix: Fix data-race around unix_tot_inflight.
| * b401d7e485 af_unix: Fix data-races around user->unix_inflight.
| * 98e12d075c net: ipv6/addrconf: avoid integer underflow in ipv6_create_tempaddr
| * d47bc5023e veth: Fixing transmit return status for dropped packets
| * ab9796f43c igb: disable virtualization features on 82580
| * 160fdb4116 ipv4: ignore dst hint for multipath routes
| * 29039819c6 drm/i915/gvt: Drop unused helper intel_vgpu_reset_gtt()
| * 23d2651372 drm/i915/gvt: Save/restore HW status to support GVT suspend/resume
| * 895dc4c471 net: read sk->sk_family once in sk_mc_loop()
| * 8edced38db ipv4: annotate data-races around fi->fib_dead
| * ab5c26dc53 sctp: annotate data-races around sk->sk_wmem_queued
| * 94d527c375 net/sched: fq_pie: avoid stalls in fq_pie_timer()
| * a2d9d884e8 pwm: lpc32xx: Remove handling of PWM channels
| * 6909e28cf3 watchdog: intel-mid_wdt: add MODULE_ALIAS() to allow auto-load
| * aec02fba99 perf top: Don't pass an ERR_PTR() directly to perf_session__delete()
| * 28df38af32 x86/virt: Drop unnecessary check on extended CPUID level in cpu_has_svm()
| * 23ec6fc52c perf annotate bpf: Don't enclose non-debug code with an assert()
| * 934d29b9fa backlight: gpio_backlight: Drop output GPIO direction check for initial power state
| * 84f9953215 kconfig: fix possible buffer overflow
| * 6cc6f79b93 NFSv4/pnfs: minor fix for cleanup path in nfs4_get_device_info
| * 4185605cd0 NFS: Fix a potential data corruption
| * 2ccab9f827 soc: qcom: qmi_encdec: Restrict string length in decode
| * bf27518fb9 clk: qcom: gcc-mdm9615: use proper parent for pll0_vote clock
| * 972acd701b clk: imx: pll14xx: dynamically configure PLL for 393216000/361267200Hz
| * 9214536728 dt-bindings: clock: xlnx,versal-clk: drop select:false
| * 690a22d6c5 pinctrl: cherryview: fix address_space_handler() argument
| * b02d1fb74e parisc: led: Reduce CPU overhead for disk & lan LED computation
| * 3add85c962 parisc: led: Fix LAN receive and transmit LEDs
| * 2a1cf9fe09 lib/test_meminit: allocate pages up to order MAX_ORDER
| * 6bfa28f441 drm/ast: Fix DRAM init on AST2200
| * 4aade6c910 fbdev/ep93xx-fb: Do not assign to struct fb_info.dev
| * db8b5a2254 scsi: qla2xxx: Remove unsupported ql2xenabledif option
| * fd48544f3e scsi: qla2xxx: Turn off noisy message log
| * 931fadf972 scsi: qla2xxx: Fix erroneous link up failure
| * 3694f18bea scsi: qla2xxx: fix inconsistent TMF timeout
| * 4d7da12483 scsi: qla2xxx: Fix deletion race condition
| * f271e3d64b io_uring: break iopolling on signal
| * 9faa6d0677 io_uring: break out of iowq iopoll on teardown
| * 208858d4b0 io_uring: always lock in io_apoll_task_func
| * 6ffab754d2 net/ipv6: SKB symmetric hash should incorporate transport ports
| * 26f9ccb7a0 udf: initialize newblock to 0
| * 06494cd473 md/md-bitmap: remove unnecessary local variable in backlog_store()
| * 5103216b86 tracing: Zero the pipe cpumask on alloc to avoid spurious -EBUSY
| * 1c4c9191b3 usb: typec: tcpci: clear the fault status bit
| * beba5051dd USB: core: Fix oversight in SuperSpeed initialization
| * 9d241c5d9a USB: core: Fix race by not overwriting udev->descriptor in hub_port_init()
| * 6ceffc2ecf USB: core: Change usb_get_device_descriptor() API
| * 3cef18d13f USB: core: Unite old scheme and new scheme descriptor reads
| * 38e1f2ee82 usb: typec: bus: verify partner exists in typec_altmode_attention
| * b97e3c5e97 cpufreq: brcmstb-avs-cpufreq: Fix -Warray-bounds bug
| * a1d2e2c670 crypto: stm32 - fix loop iterating through scatterlist for DMA
| * 54d03dc5d1 s390/ipl: add missing secure/has_secure file to ipl type 'unknown'
| * dc2f60de9a pstore/ram: Check start of empty przs during init
| * 5b1f71c0b9 fsverity: skip PKCS#7 parser when keyring is empty
| * a9864e126b net: handle ARPHRD_PPP in dev_is_mac_header_xmit()
| * c681d477c0 X.509: if signature is unsupported skip validation
| * 4b8a938e32 dccp: Fix out of bounds access in DCCP error handler
| * a4f4a5b41a dlm: fix plock lookup when using multiple lockspaces
| * 9f73fd6972 parisc: Fix /proc/cpuinfo output for lscpu
| * 1f03e6dd19 procfs: block chmod on /proc/thread-self/comm
| * 9a0b35dc3a Revert "PCI: Mark NVIDIA T4 GPUs to avoid bus reset"
| * 3d8d13a174 ntb: Fix calculation ntb_transport_tx_free_entry()
| * c028e90e0d ntb: Clean up tx tail index on link down
| * 3cfdc448e8 ntb: Drop packets when qp link is down
| * ffed0c8fcf scsi: mpt3sas: Perform additional retries if doorbell read returns 0
| * bf67d43f07 Revert "scsi: qla2xxx: Fix buffer overrun"
| * 27dfaf2ee0 media: dvb: symbol fixup for dvb_attach()
| * 5a85727239 arm64: csum: Fix OoB access in IP checksum code for negative lengths
| * b24bebcea5 xtensa: PMU: fix base address for the newer hardware
| * 8594605a04 backlight/lv5207lp: Compare against struct fb_info.device
| * e2c77841cd backlight/bd6107: Compare against struct fb_info.device
| * 35c56c4873 backlight/gpio_backlight: Compare against struct fb_info.device
| * 13264260eb ARM: OMAP2+: Fix -Warray-bounds warning in _pwrdm_state_switch()
| * 5c5f02e16b ipmi_si: fix a memleak in try_smi_init()
| * 5d27baee6c scsi: core: Fix the scsi_set_resid() documentation
| * 8c90c4e619 printk: ringbuffer: Fix truncating buffer size min_t cast
| * 61b918dfb6 ALSA: pcm: Fix missing fixup call in compat hw_refine ioctl
| * ab192e5e5d PM / devfreq: Fix leak in devfreq_dev_release()
| * 3e39008e9e igb: set max size RX buffer when store bad packet is enabled
| * 8836c26620 skbuff: skb_segment, Call zero copy functions before using skbuff frags
| * 5541827d13 netfilter: xt_sctp: validate the flag_info count
| * a1b711c370 netfilter: xt_u32: validate user space input
| * 83091f8ac0 netfilter: ipset: add the missing IP_SET_HASH_WITH_NET0 macro for ip_set_hash_netportnet.c
| * 1186eaffd8 igmp: limit igmpv3_newpack() packet size to IP_MAX_MTU
| * 504bb3fc66 virtio_ring: fix avail_wrap_counter in virtqueue_add_packed
| * ea374bdf23 cpufreq: Fix the race condition while updating the transition_task of policy
| * 27b75c7203 dmaengine: ste_dma40: Add missing IRQ check in d40_probe
| * cfe215a04a um: Fix hostaudio build errors
| * eb33921806 mtd: rawnand: fsmc: handle clk prepare error in fsmc_nand_resume()
| * 40d8f9bffe mtd: spi-nor: Check bus width while setting QE bit
| * 71ac2ffd7f rpmsg: glink: Add check for kstrdup
| * 268fce6ec2 phy/rockchip: inno-hdmi: do not power on rk3328 post pll on reg write
| * 6739746f4b phy/rockchip: inno-hdmi: round fractal pixclock in rk3328 recalc_rate
| * 88813bd9bb phy/rockchip: inno-hdmi: use correct vco_div_5 macro on rk3328
| * 3a890f993b mtd: rawnand: brcmnand: Fix mtd oobsize
| * c5d30d6aa8 tracing: Fix race issue between cpu buffer write and swap
| * ee519526d5 x86/speculation: Mark all Skylake CPUs as vulnerable to GDS
| * 15ec7cb55e HID: multitouch: Correct devm device reference for hidinput input_dev name
| * e38a6f1268 HID: logitech-dj: Fix error handling in logi_dj_recv_switch_to_dj_mode()
| * bdb3cd9dff RDMA/siw: Correct wrong debug message
| * d006f2cb3c RDMA/siw: Balance the reference of cep->kref in the error path
| * aa950b9835 Revert "IB/isert: Fix incorrect release of isert connection"
| * 9baf2278b3 amba: bus: fix refcount leak
| * 0c6c0280f7 serial: tegra: handle clk prepare error in tegra_uart_hw_init()
| * 9cce8ef7a6 scsi: fcoe: Fix potential deadlock on &fip->ctlr_lock
| * 356da2d5c0 scsi: core: Use 32-bit hostnum in scsi_host_lookup()
| * 629079f502 cgroup:namespace: Remove unused cgroup_namespaces_init()
| * 3534ae5f17 media: ov2680: Fix regulators being left enabled on ov2680_power_on() errors
| * a427ce197e media: ov2680: Fix vflip / hflip set functions
| * cd7a0e391e media: ov2680: Fix ov2680_bayer_order()
| * faf1408a68 media: ov2680: Remove auto-gain and auto-exposure controls
| * e1552a0b99 media: i2c: ov2680: Set V4L2_CTRL_FLAG_MODIFY_LAYOUT on flips
| * 2d29ce41de media: ov5640: Enable MIPI interface in ov5640_set_power_mipi()
| * 44c71cbe7c USB: gadget: f_mass_storage: Fix unused variable warning
| * 8f7de82158 media: go7007: Remove redundant if statement
| * 3183b0cab7 iommu/vt-d: Fix to flush cache of PASID directory table
| * 4136094df5 iommu/qcom: Disable and reset context bank before programming
| * b374b039e0 fsi: aspeed: Reset master errors after CFAM reset
| * f8949c06c7 IB/uverbs: Fix an potential error pointer dereference
| * 10bd5f8ceb driver core: test_async: fix an error code
| * 19138f8cc6 dma-buf/sync_file: Fix docs syntax
| * e621dbeb9f coresight: tmc: Explicit type conversions to prevent integer overflow
| * d7f21ef741 scsi: qedf: Do not touch __user pointer in qedf_dbg_fp_int_cmd_read() directly
| * 1198a0e935 scsi: qedf: Do not touch __user pointer in qedf_dbg_debug_cmd_read() directly
| * d86d85e23e scsi: qedf: Do not touch __user pointer in qedf_dbg_stop_io_on_error_cmd_read() directly
| * 4ede2ee95b x86/APM: drop the duplicate APM_MINOR_DEV macro
| * 9a26aaea6c serial: sprd: Fix DMA buffer leak issue
| * 6232bd4dca serial: sprd: Assign sprd_port after initialized to avoid wrong access
| * 6d65079c69 scsi: qla4xxx: Add length check when parsing nlattrs
| * b65b13d01b scsi: be2iscsi: Add length check when parsing nlattrs
| * 4df82c6d6e scsi: iscsi: Add strlen() check in iscsi_if_set{_host}_param()
| * 18d49266dd scsi: iscsi: Add length check for nlattr payload
| * 3ef17ca476 scsi: iscsi: Rename iscsi_set_param() to iscsi_if_set_param()
| * 8356a3ba10 scsi: RDMA/srp: Fix residual handling
| * cc2d5cdb19 usb: phy: mxs: fix getting wrong state with mxs_phy_is_otg_host()
| * 5a6f480b2e media: mediatek: vcodec: Return NULL if no vdec_fb is found
| * 43c69dc9a3 media: rkvdec: increase max supported height for H.264
| * 1e5eac0022 scsi: hisi_sas: Fix normally completed I/O analysed as failed
| * b6aca9f5ab scsi: hisi_sas: Fix warnings detected by sparse
| * 0d383e555f scsi: hisi_sas: Modify v3 HW SATA completion error processing
| * 6342206051 scsi: hisi_sas: Modify v3 HW SSP underflow error processing
| * d84e5d445a scsi: libsas: Introduce more SAM status code aliases in enum exec_status
| * 519b9e3e5c scsi: hisi_sas: Print SAS address for v3 hw erroneous completion print
| * 5e5a528c29 media: cx24120: Add retval check for cx24120_message_send()
| * d13a84874a media: dvb-usb: m920x: Fix a potential memory leak in m920x_i2c_xfer()
| * 656423cc56 media: dib7000p: Fix potential division by zero
| * 61bc9293da drivers: usb: smsusb: fix error handling code in smsusb_init_device
| * d8a8f75fce media: v4l2-core: Fix a potential resource leak in v4l2_fwnode_parse_link()
| * 5865926da2 media: i2c: tvp5150: check return value of devm_kasprintf()
| * 6dff92b3fe media: ad5820: Drop unsupported ad5823 from i2c_ and of_device_id tables
| * 9d82a58d2a NFSv4.2: fix handling of COPY ERR_OFFLOAD_NO_REQ
| * 7bc36ac671 NFS: Guard against READDIR loop when entry names exceed MAXNAMELEN
| * 3f1a2b0b2d NFSD: da_addr_body field missing in some GETDEVICEINFO replies
| * aaeac3a6b1 fs: lockd: avoid possible wrong NULL parameter
| * 6d53616189 jfs: validate max amount of blocks before allocation.
| * f08944e3c6 powerpc/iommu: Fix notifiers being shared by PCI and VIO buses
| * 46ff3bd14b nfs/blocklayout: Use the passed in gfp flags
| * 953c54dfdc powerpc/pseries: Rework lppaca_shared_proc() to avoid DEBUG_PREEMPT
| * e46cc0e42f powerpc: Don't include lppaca.h in paca.h
| * 9837d6a483 wifi: ath10k: Use RMW accessors for changing LNKCTL
| * 924d1ab987 net/mlx5: Use RMW accessors for changing LNKCTL
| * 37eecd5085 drm/radeon: Use RMW accessors for changing LNKCTL
| * ead3dbc92b drm/amdgpu: Use RMW accessors for changing LNKCTL
| * 2f8269ca80 powerpc/perf: Convert fsl_emb notifier to state machine callbacks
| * d45bf1528b powerpc/fadump: reset dump area size if fadump memory reserve fails
| * ad83d83dd8 vfio/type1: fix cap_migration information leak
| * d8f5613c5c clk: imx: composite-8m: fix clock pauses when set_rate would be a no-op
| * 0d81a0546b clk: imx8mp: fix sai4 clock
| * 69795c689e PCI/ASPM: Use RMW accessors for changing LNKCTL
| * f647b8fe55 PCI: pciehp: Use RMW accessors for changing LNKCTL
| * ae52f8ba45 pinctrl: mcp23s08: check return value of devm_kasprintf()
| * ef8e561ddb PCI: Mark NVIDIA T4 GPUs to avoid bus reset
| * 344c16a844 clk: qcom: reset: Use the correct type of sleep/delay based on length
| * 289f5a88f1 clk: qcom: gcc-sm8250: Fix gcc_sdcc2_apps_clk_src
| * b3a80429b1 clk: qcom: gcc-sm8250: use ARRAY_SIZE instead of specifying num_parents
| * 245759d987 ext4: correct grp validation in ext4_mb_good_group
| * 2aefe3ae09 clk: qcom: gcc-sc7180: Fix up gcc_sdcc2_apps_clk_src
| * 74a5f9755a clk: qcom: gcc-sc7180: use ARRAY_SIZE instead of specifying num_parents
| * 2640d3be82 clk: sunxi-ng: Modify mismatched function name
| * c1ff788f73 drivers: clk: keystone: Fix parameter judgment in _of_pll_clk_init()
| * 13623b966b ipmi:ssif: Fix a memory leak when scanning for an adapter
| * 6128288d8f ipmi:ssif: Add check for kstrdup
| * 8917591d72 ALSA: ac97: Fix possible error value of *rac97
| * cd062ebe0c of: unittest: Fix overlay type in apply/revert check
| * ca7634e549 bus: ti-sysc: Fix cast to enum warning
| * 43f561e809 drm/mediatek: Fix potential memory leak if vmap() fail
| * 2655155486 bus: ti-sysc: Fix build warning for 64-bit build
| * 98ef243d59 audit: fix possible soft lockup in __audit_inode_child()
| * 69800bc5d7 drm/msm/a2xx: Call adreno_gpu_init() earlier
| * 7fcbaf4bdb drm/amd/pm: fix variable dereferenced issue in amdgpu_device_attr_create()
| * 9b89db24c6 smackfs: Prevent underflow in smk_set_cipso()
| * 9f4017cac7 firmware: meson_sm: fix to avoid potential NULL pointer dereference
| * 815e42029f drm/msm/mdp5: Don't leak some plane state
| * a21e73a6d8 drm: xlnx: zynqmp_dpsub: Add missing check for dma_set_mask
| * 524f23b082 ima: Remove deprecated IMA_TRUSTED_KEYRING Kconfig
| * e2d1c9b397 drm/panel: simple: Add missing connector type and pixel format for AUO T215HVN01
| * c02917e70a drm/armada: Fix off-by-one error in armada_overlay_get_property()
| * f41c65f8d0 of: unittest: fix null pointer dereferencing in of_unittest_find_node_by_name()
| * 883fdbbdbe drm/tegra: dpaux: Fix incorrect return value of platform_get_irq
| * 5f0994e3f2 drm/tegra: Remove superfluous error messages around platform_get_irq()
| * 4a61d72585 md/md-bitmap: hold 'reconfig_mutex' in backlog_store()
| * 8563d52a4f md/bitmap: don't set max_write_behind if there is no write mostly device
| * a15f309eb9 drm/amdgpu: Update min() to min_t() in 'amdgpu_info_ioctl'
| * 8e766a94ec arm64: dts: qcom: sdm845: Fix the min frequency of "ice_core_clk"
| * 36d3e4dedb arm64: dts: qcom: sdm845: Add missing RPMh power domain to GCC
| * 0eea279e01 ARM: dts: BCM53573: Fix Ethernet info for Luxul devices
| * ed4e48de89 drm: adv7511: Fix low refresh rate register for ADV7533/5
| * 61ccdd2167 ARM: dts: samsung: s5pv210-smdkv210: correct ethernet reg addresses (split)
| * e9875d2f25 ARM: dts: s5pv210: add dummy 5V regulator for backlight on SMDKv210
| * c4c72bf42f ARM: dts: s5pv210: adjust node names to DT spec
| * bbcea0924b ARM: dts: samsung: s3c6410-mini6410: correct ethernet reg addresses (split)
| * a2d6c5e8e7 ARM: dts: s3c64xx: align pinctrl with dtschema
| * 3f0d83994e x86/mm: Fix PAT bit missing from page protection modify mask
| * b56309c77d drm/etnaviv: fix dumping of active MMU context
| * 8303282409 ARM: dts: BCM53573: Use updated "spi-gpio" binding properties
| * 031ab0f10e ARM: dts: BCM53573: Add cells sizes to PCIe node
| * 8415d803d8 ARM: dts: BCM53573: Drop nonexistent #usb-cells
| * cfc4a78e70 ARM: dts: BCM53573: Describe on-SoC BCM53125 rev 4 switch
| * 36d958ad40 ARM: dts: BCM5301X: Harmonize EHCI/OHCI DT nodes name
| * 826ef15769 drm/amdgpu: avoid integer overflow warning in amdgpu_device_resize_fb_bar()
| * 967cbc8a23 arm64: dts: qcom: msm8996: Add missing interrupt to the USB2 controller
| * 71d2d9aa2b soc: qcom: ocmem: Fix NUM_PORTS & NUM_MACROS macros
| * 1356531e92 soc: qcom: ocmem: Add OCMEM hardware version print
| * 4bf179f536 ASoC: stac9766: fix build errors with REGMAP_AC97
| * 86d89987f0 quota: fix dqput() to follow the guarantees dquot_srcu should provide
| * af4ff47489 quota: add new helper dquot_active()
| * 905e316e5e quota: rename dquot_active() to inode_quota_active()
| * a5da2849db quota: factor out dquot_write_dquot()
| * 53805176ec drm/bridge: tc358764: Fix debug print parameter order
| * abd1c17ef4 netrom: Deny concurrent connect().
| * b08cc6c039 net/sched: sch_hfsc: Ensure inner classes have fsc curve
| * ab04c731a1 hwmon: (tmp513) Fix the channel number in tmp51x_is_visible()
| * db7a353166 mlxsw: i2c: Limit single transaction buffer size
| * 3d36ba3f7e mlxsw: i2c: Fix chunk size setting in output mailbox buffer
| * 7cc9e1dcc1 net: arcnet: Do not call kfree_skb() under local_irq_disable()
| * d4f79aa9ee wifi: ath9k: use IS_ERR() with debugfs_create_dir()
| * 50f89daf9e Bluetooth: btusb: Do not call kfree_skb() under spin_lock_irqsave()
| * bef85d58f7 wifi: mwifiex: avoid possible NULL skb pointer dereference
| * cfce1973ff wifi: ath9k: protect WMI command response buffer replacement with a lock
| * ee72b2b1f5 wifi: ath9k: fix races between ath9k_wmi_cmd and ath9k_wmi_ctrl_rx
| * 91d92d8975 samples/bpf: fix broken map lookup probe
| * 08a6e99a33 wifi: mwifiex: Fix missed return in oob checks failed path
| * 0c4240d23d wifi: mwifiex: fix memory leak in mwifiex_histogram_read()
| * 0fe11dd3fe fs: ocfs2: namei: check return value of ocfs2_add_entry()
| * d8f5415d4d lwt: Check LWTUNNEL_XMIT_CONTINUE strictly
| * a97f221651 lwt: Fix return values of BPF xmit ops
| * 97ccf9f195 hwrng: iproc-rng200 - Implement suspend and resume calls
| * 49729fc472 crypto: caam - fix unchecked return value error
| * 7a97044477 ice: ice_aq_check_events: fix off-by-one check when filling buffer
| * 9b812dcf2b selftests/bpf: Clean up fmod_ret in bench_rename test script
| * 88bc7122db net: tcp: fix unexcepted socket die when snd_wnd is 0
| * e87da6a0ac Bluetooth: Fix potential use-after-free when clear keys
| * 6668886ebe Bluetooth: nokia: fix value check in nokia_bluetooth_serdev_probe()
| * 625bf86bf5 crypto: api - Use work queue in crypto_destroy_instance
| * 7545292d87 crypto: stm32 - Properly handle pm_runtime_get failing
| * 323084d77d selftests/bpf: fix static assert compilation issue for test_cls_*.c
| * a8d6965843 wifi: mwifiex: fix error recovery in PCIE buffer descriptor management
| * 3fe3923d09 wifi: mwifiex: Fix OOB and integer underflow when rx packets
| * 5120d93c24 can: gs_usb: gs_usb_receive_bulk_callback(): count RX overflow errors also in case of OOM
| * 1d6c3017ce spi: tegra20-sflash: fix to check return value of platform_get_irq() in tegra_sflash_probe()
| * ca7ee1b75c wifi: mt76: testmode: add nla_policy for MT76_TM_ATTR_TX_LENGTH
| * 791a12102e bpf: reject unhashed sockets in bpf_sk_assign
| * 4d271804f5 udp: re-score reuseport groups when connected sockets are present
| * e6e11cbaa1 regmap: rbtree: Use alloc_flags for memory allocations
| * 1d210321de hwrng: nomadik - keep clock enabled while hwrng is registered
| * f24152c209 tcp: tcp_enter_quickack_mode() should be static
| * b275f0ae35 bpf: Clear the probe_addr for uprobe
| * 514116de91 bpftool: Use a local bpf_perf_event_value to fix accessing its fields
| * 920b2f99bc cpufreq: powernow-k8: Use related_cpus instead of cpus in driver.exit()
| * 133a1f45b9 x86/efistub: Fix PCI ROM preservation in mixed mode
| * 3de36b8b9b s390/paes: fix PKEY_TYPE_EP11_AES handling for secure keyblobs
| * e06326ff3a s390/pkey: fix/harmonize internal keyblob headers
| * 08b1803bfc perf/imx_ddr: don't enable counter0 if none of 4 counters are used
| * c0e1f9bddc x86/decompressor: Don't rely on upper 32 bits of GPRs being preserved
| * 0682fc175c selftests/resctrl: Close perf value read fd on errors
| * f399938a91 selftests/resctrl: Unmount resctrl FS if child fails to run benchmark
| * bf1f7aeb57 selftests/resctrl: Don't leak buffer in fill_cache()
| * 3ee719b3a0 OPP: Fix passing 0 to PTR_ERR in _opp_attach_genpd()
| * 066fbd8bc9 refscale: Fix uninitalized use of wait_queue_head_t
| * ac96370db7 selftests/harness: Actually report SKIP for signal tests
| * ac5a73b5d9 tmpfs: verify {g,u}id mount options correctly
| * 644e93a790 fs: Fix error checking for d_hash_and_lookup()
| * 731f39e4a1 eventfd: prevent underflow for eventfd semaphores
| * 755e86f28a eventfd: Export eventfd_ctx_do_read()
| * 6b5d585e23 reiserfs: Check the return value from __getblk()
| * 5101e2c8a5 Revert "net: macsec: preserve ingress frame ordering"
| * ca8f04553e udf: Handle error when adding extent to a file
| * 4ac54312f6 udf: Check consistency of Space Bitmap Descriptor
| * 42714d3d70 net: Avoid address overwrite in kernel_connect
| * 4ded72985b platform/mellanox: Fix mlxbf-tmfifo not handling all virtio CONSOLE notifications
| * 0c0547d2a6 tracing: Introduce pipe_cpumask to avoid race on trace_pipes
| * 99d8d419dd ALSA: seq: oss: Fix racy open/close of MIDI devices
| * 21f47cc15a scsi: storvsc: Always set no_report_opcodes
| * 5cbc749d11 sctp: handle invalid error codes without calling BUG()
| * 2bdd081a7d bnx2x: fix page fault following EEH recovery
| * d11a454288 netlabel: fix shift wrapping bug in netlbl_catmap_setlong()
| * 7dd6ef1ced scsi: qedi: Fix potential deadlock on &qedi_percpu->p_work_lock
| * 7a1a7f40ad idmaengine: make FSL_EDMA and INTEL_IDMA64 depends on HAS_IOMEM
| * d399b6ce1a net: usb: qmi_wwan: add Quectel EM05GV2
| * bb8a4a3632 vmbus_testing: fix wrong python syntax for integer value comparison
| * 0ff30413a7 clk: fixed-mmio: make COMMON_CLK_FIXED_MMIO depend on HAS_IOMEM
| * 0111b7bb51 kprobes: Prohibit probing on CFI preamble symbol
| * 654e3d2779 security: keys: perform capable check only on privileged operations
| * b23cbd3c25 ata: pata_arasan_cf: Use dev_err_probe() instead dev_err() in data_xfer()
| * 331d85f0bc ovl: Always reevaluate the file signature for IMA
| * 357badc01a drm/amd/display: Exit idle optimizations before attempt to access PHY
| * de0cdcceaa platform/x86: huawei-wmi: Silence ambient light sensor
| * 8964b32a67 platform/x86: intel: hid: Always call BTNL ACPI method
| * 6b953ee81a ASoC: atmel: Fix the 8K sample parameter in I2SC master
| * 37121461dd ASoc: codecs: ES8316: Fix DMIC config
| * bc2b0d4d37 fs/nls: make load_nls() take a const parameter
| * 0a584c0779 s390/dasd: fix hanging device after request requeue
| * 0c96df6913 s390/dasd: use correct number of retries for ERP requests
| * a5fd143673 m68k: Fix invalid .section syntax
| * f7700e987f vxlan: generalize vxlan_parse_gpe_hdr and remove unused args
| * b7cd83cfff ethernet: atheros: fix return value check in atl1c_tso_csum()
| * 16c1134267 ASoC: da7219: Check for failure reading AAD IRQ events
| * afa2dbd7d1 ASoC: da7219: Flush pending AAD IRQ when suspending
| * efa372af6b 9p: virtio: make sure 'offs' is initialized in zc_request
| * 2f13007fbe media: pci: cx23885: fix error handling for cx23885 ATSC boards
| * 92704dd055 media: pulse8-cec: handle possible ping error
| * 9d9cdc32bf phy: qcom-snps-femto-v2: use qcom_snps_hsphy_suspend/resume error code
| * a8ba2b6959 ARM: dts: imx: Set default tuning step for imx7d usdhc
| * 678a88ac02 ARM: dts: imx: Adjust dma-apbh node name
| * 6895499b22 ARM: dts: imx7s: Drop dma-apb interrupt-names
| * 614c27dfde ARM: dts: imx: update sdma node name format
| * d45e2a3d2e ASoC: rt5682: Fix a problem with error handling in the io init function of the soundwire
| * 977baccbbd pinctrl: amd: Don't show `Invalid config param` errors
| * f1d637b63d nilfs2: fix WARNING in mark_buffer_dirty due to discarded buffer reuse
| * 0e11bb5ad3 nilfs2: fix general protection fault in nilfs_lookup_dirty_data_buffers()
| * 734c6d3dc7 fsi: master-ast-cf: Add MODULE_FIRMWARE macro
| * da5dc81ed2 firmware: stratix10-svc: Fix an NULL vs IS_ERR() bug in probe
| * 9fda231901 serial: sc16is7xx: fix bug when first setting GPIO direction
| * 2f982ce208 serial: sc16is7xx: fix broken port 0 uart init
| * bd0ed45dd6 serial: qcom-geni: fix opp vote on shutdown
| * c709c7ca02 configfs: fix a race in configfs_lookup()
| * 746b363bef Bluetooth: btsdio: fix use after free bug in btsdio_remove due to race condition
| * b074fb0fa0 staging: rtl8712: fix race condition
| * 65bfaf5f9d HID: wacom: remove the battery when the EKR is off
| * 542c614707 usb: chipidea: imx: improve logic if samsung,picophy-* parameter is 0
| * 5c4996c229 usb: dwc3: meson-g12a: do post init to fix broken usb after resumption
| * d44fa38193 USB: serial: option: add FOXCONN T99W368/T99W373 product
| * df6696e42e USB: serial: option: add Quectel EM05G variant (0x030e)
| * f71b0b4a49 modules: only allow symbol_get of EXPORT_SYMBOL_GPL modules
| * 92de8497c3 rtc: ds1685: use EXPORT_SYMBOL_GPL for ds1685_rtc_poweroff
| * 1aeb76ffdf net: enetc: use EXPORT_SYMBOL_GPL for enetc_phc_index
| * d90e5956c0 mmc: au1xmmc: force non-modular build and remove symbol_get usage
| * c1112a2b54 ARM: pxa: remove use of symbol_get()
| * 8c599aa78c erofs: ensure that the post-EOF tails are all zeroed
* | 397f70b65c Merge 5.10.194 into android12-5.10-lts
|\|
| * 006d584764 Linux 5.10.194
| * d93ba6e46e rcu-tasks: Add trc_inspect_reader() checks for exiting critical section
| * 3e22624f8f rcu-tasks: Wait for trc_read_check_handler() IPIs
| * 9190c1f0ae rcu-tasks: Fix IPI failure handling in trc_wait_for_one_reader
| * ad4f8c117b rcu: Prevent expedited GP from enabling tick on offline CPU
| * 268e922522 Revert "MIPS: Alchemy: fix dbdma2"
| * 79ea9eb723 Revert "drm/amdgpu: install stub fence into potential unused fence pointers"
| * be4ccafc07 mhi: pci_generic: Fix implicit conversion warning
| * df3427204f ARM: module: Use module_init_layout_section() to spot init sections
| * b59cfee8d8 arm64: module: Use module_init_layout_section() to spot init sections
| * 943ed7dc5e arm64: module-plts: inline linux/moduleloader.h
| * ecd62c8512 module: Expose module_init_layout_section()
* | feb0269d54 Revert "drm/display/dp: Fix the DP DSC Receiver cap size"
* | 3acf914de4 Merge 5.10.193 into android12-5.10-lts
|\|
| * 4566606fe3 Linux 5.10.193
| * b3ac2c1d72 mm,hwpoison: fix printing of page flags
| * 7f92be110c ASoC: Intel: sof_sdw: include rt711.h for RT711 JD mode
| * 32f71ef627 mm: memory-failure: fix unexpected return value in soft_offline_page()
| * 20c2db79f1 mm: memory-failure: kill soft_offline_free_page()
| * 406166a3ac mm: fix page reference leak in soft_offline_page()
| * 749630ce91 mm,hwpoison: refactor get_any_page
| * 0df5eaab03 dma-buf/sw_sync: Avoid recursive lock during fence signal
| * 7592a392b3 pinctrl: renesas: rza2: Add lock around pinctrl_generic{{add,remove}_group,{add,remove}_function}
| * 91cbf41a9d clk: Fix undefined reference to `clk_rate_exclusive_{get,put}'
| * 148a86651c scsi: core: raid_class: Remove raid_component_add()
| * 5d02f4320a scsi: snic: Fix double free in snic_tgt_create()
| * d643d3f322 ASoC: rt711: add two jack detection modes
| * c7b26063fc drm/i915: Fix premature release of request's reusable memory
| * 2d69f68ad4 cgroup/cpuset: Free DL BW in case can_attach() fails
| * 4603c2a104 sched/deadline: Create DL BW alloc, free & check overflow interface
| * c9546921a4 cgroup/cpuset: Iterate only if DEADLINE tasks are present
| * 5ac05ce568 sched/cpuset: Keep track of SCHED_DEADLINE task in cpusets
| * b950133d9a sched/cpuset: Bring back cpuset_mutex
| * 312713e3ea cgroup/cpuset: Rename functions dealing with DEADLINE accounting
| * b2125926ba timers/nohz: Switch to ONESHOT_STOPPED in the low-res handler when the tick is stopped
| * ae4f109b95 tick: Detect and fix jiffies update stall
| * c7e91047d3 torture: Fix hang during kthread shutdown phase
| * 4bc6a4fca1 x86/fpu: Set X86_FEATURE_OSXSAVE feature after enabling OSXSAVE in CR4
| * 9e0c0b4ce5 drm/display/dp: Fix the DP DSC Receiver cap size
| * 8735d1c66c drm/vmwgfx: Fix shader stage validation
| * ff0639b222 PCI: acpiphp: Use pci_assign_unassigned_bridge_resources() only for non-root bus
| * da4e9eff0f media: vcodec: Fix potential array out-of-bounds in encoder queue_setup
| * d2540b5f5a of: dynamic: Refactor action prints to not use "%pOF" inside devtree_lock
| * 851f686ed0 radix tree: remove unused variable
| * 3b9a61570b lib/clz_ctz.c: Fix __clzdi2() and __ctzdi2() for 32-bit kernels
| * 72e4a5a28e batman-adv: Hold rtnl lock during MTU update via netlink
| * ee1d443eef batman-adv: Fix batadv_v_ogm_aggr_send memory leak
| * 0c6da1d849 batman-adv: Fix TT global entry leak when client roamed back
| * 6f5d10c0ac batman-adv: Do not get eth header before batadv_check_management_packet
| * 7c09590883 batman-adv: Don't increase MTU when set by user
| * 480f2a129d batman-adv: Trigger events for auto adjusted MTU
| * 0dbedf9afe selinux: set next pointer before attaching to list
| * a54c2048cd nfsd: Fix race to FREE_STATEID and cl_revoked
| * 7c262127d2 NFS: Fix a use after free in nfs_direct_join_group()
| * f3c5697aae mm: add a call to flush_cache_vmap() in vmap_pfn()
| * c9a0e31d92 clk: Fix slab-out-of-bounds error in devm_clk_release()
| * f979b92db1 NFSv4: Fix dropped lock for racing OPEN and delegation return
| * 0a809e0157 ibmveth: Use dcbf rather than dcbfl
| * ffde5f9e88 bonding: fix macvlan over alb bond support
| * 615ea2603d net: remove bond_slave_has_mac_rcu()
| * c8e1e17dee rtnetlink: Reject negative ifindexes in RTM_NEWLINK
| * 7b79dabd63 rtnetlink: return ENODEV when ifname does not exist and group is given
| * d64cdb9cb6 netfilter: nf_tables: fix out of memory error handling
| * 5db1249c70 net/sched: fix a qdisc modification with ambiguous command request
| * 3847137cd1 igb: Avoid starting unnecessary workqueues
| * fa7d7a7f00 ice: fix receive buffer size miscalculation
| * 70dfdbba30 net: validate veth and vxcan peer ifindexes
| * 67c8d7ef54 net: bcmgenet: Fix return value check for fixed_phy_register()
| * 92b20b1569 net: bgmac: Fix return value check for fixed_phy_register()
| * 0b39e3070a ipvlan: Fix a reference count leak warning in ipvlan_ns_exit()
| * 8162b73eef dccp: annotate data-races in dccp_poll()
| * 403cc3e625 sock: annotate data-races around prot->memory_pressure
| * 005b6572d0 octeontx2-af: SDP: fix receive link config
| * b8205dfed6 tracing: Fix memleak due to race between current_tracer and trace
| * 9c2ceffd4e tracing: Fix cpu buffers unavailable due to 'record_disabled' missed
| * 0498107394 rbd: prevent busy loop when requesting exclusive lock
| * 5f16975233 rbd: retrieve and check lock owner twice before blocklisting
| * 2547026bb8 rbd: make get_lock_owner_info() return a single locker or NULL
| * 145248ebe0 libceph, rbd: ignore addr->type while comparing in some cases
| * 61c303cfb1 drm/amd/display: check TG is non-null before checking if enabled
| * b964eb37c0 drm/amd/display: do not wait for mpc idle if tg is disabled
| * 7e11c58b26 ALSA: pcm: Fix potential data race at PCM memory allocation helpers
| * 8c3a4c3b64 dm integrity: reduce vmalloc space footprint on 32-bit architectures
| * 4fdfd3d2f0 dm integrity: increase RECALC_SECTORS to improve recalculate speed
| * 570f52137e fbdev: fix potential OOB read in fast_imageblit()
| * 31131cce24 fbdev: Fix sys_imageblit() for arbitrary image widths
| * 209a84a14c fbdev: Improve performance of sys_imageblit()
| * 188edaaaad MIPS: cpu-features: Use boot_cpu_type for CPU type based features
| * 61913b303b MIPS: cpu-features: Enable octeon_cache by cpu_type
| * bda55fb5ca fs: dlm: fix mismatch of plock results from userspace
| * c3a1c4d996 fs: dlm: use dlm_plock_info for do_unlock_close
| * d503919895 fs: dlm: change plock interrupted message to debug again
| * 1652bcbf9e fs: dlm: add pid to debug log
| * e850cd32df dlm: replace usage of found with dedicated list iterator variable
| * 7b44c1f383 dlm: improve plock logging if interrupted
| * cd689b5912 PCI: acpiphp: Reassign resources on bridge if necessary
| * e827572152 xprtrdma: Remap Receive buffers after a reconnect
| * 8a64aadc29 NFSv4: fix out path in __nfs4_get_acl_uncached
| * c6aecc29d2 objtool/x86: Fix SRSO mess
* | 4d68de3b8c UPSTREAM: mhi: pci_generic: Fix implicit conversion warning
* | 9577f310ce Revert "macsec: Fix traffic counters/statistics"
* | 13fda7dc0e Revert "macsec: use DEV_STATS_INC()"
* | 63caeeae27 Revert "xfrm: add forgotten nla_policy for XFRMA_MTIMER_THRESH"
* | b23fd871be Merge 5.10.192 into android12-5.10-lts
|\|
| * 1599cb60ba Linux 5.10.192
| * 0e8139f923 x86/srso: Correct the mitigation status when SMT is disabled
| * 23e5987465 objtool/x86: Fixup frame-pointer vs rethunk
| * 26e3f7690c x86/retpoline,kprobes: Fix position of thunk sections with CONFIG_LTO_CLANG
| * 88e16ce7f8 x86/srso: Disable the mitigation on unaffected configurations
| * 69712baf24 x86/CPU/AMD: Fix the DIV(0) initial fix attempt
| * 62ebfeb0dc x86/retpoline: Don't clobber RFLAGS during srso_safe_ret()
| * 91b349289e x86/static_call: Fix __static_call_fixup()
| * d2be58f921 x86/srso: Explain the untraining sequences a bit more
| * 06597b650b x86/cpu: Cleanup the untrain mess
| * e0f50b0e41 x86/cpu: Rename srso_(.*)_alias to srso_alias_\1
| * 0676a39253 x86/cpu: Rename original retbleed methods
| * 8b0ff83e8a x86/cpu: Clean up SRSO return thunk mess
| * 20e24c8b4c x86/ibt: Add ANNOTATE_NOENDBR
| * bbbe1b23c7 objtool: Add frame-pointer-specific function ignore
| * bd3d12e6fd x86/alternative: Make custom return thunk unconditional
| * 043d3bfe0a x86/cpu: Fix up srso_safe_ret() and __x86_return_thunk()
| * d5b3c88d15 x86/cpu: Fix __x86_return_thunk symbol type
| * 5962f64ed2 mmc: f-sdh30: fix order of function calls in sdhci_f_sdh30_remove
| * 98c7fe38c4 net: fix the RTO timer retransmitting skb every 1ms if linear option is enabled
| * 9aead733f5 virtio-net: set queues after driver_ok
| * c080cee930 af_unix: Fix null-ptr-deref in unix_stream_sendpage().
| * 7aa165d761 netfilter: set default timeout to 3 secs for sctp shutdown send and recv state
| * e62de63c63 mmc: block: Fix in_flight[issue_type] value error
| * 9022e9e62d mmc: wbsd: fix double mmc_free_host() in wbsd_init()
| * 6e74926ede cifs: Release folio lock on fscache read hit.
| * a04ac0c318 ALSA: usb-audio: Add support for Mythware XA001AU capture and playback interfaces.
| * bd70d0b280 serial: 8250: Fix oops for port->pm on uart_change_pm()
| * 03a7f213af ALSA: hda/realtek - Remodified 3k pull low procedure
| * b7d1c71984 ASoC: meson: axg-tdm-formatter: fix channel slot allocation
| * e761b7e90a ASoC: rt5665: add missed regulator_bulk_disable
| * d23dd85903 arm64: dts: rockchip: Disable HS400 for eMMC on ROCK Pi 4
| * 70626b93d6 arm64: dts: rockchip: sort nodes/properties on rk3399-rock-4
| * 7ba9ac0b5a arm64: dts: rockchip: fix regulator name on rk3399-rock-4
| * fba59a4b55 arm64: dts: rockchip: add SPDIF node for ROCK Pi 4
| * 77806f63c3 arm64: dts: rockchip: add ES8316 codec for ROCK Pi 4
| * 1411c3e86e arm64: dts: rockchip: use USB host by default on rk3399-rock-pi-4
| * eb5b1e932c arm64: dts: rockchip: fix supplies on rk3399-rock-pi-4
| * 73990370d6 bus: ti-sysc: Flush posted write on enable before reset
| * 0a593e8a9d net: do not allow gso_size to be set to GSO_BY_FRAGS
| * 51bc052db8 sock: Fix misuse of sk_under_memory_pressure()
| * 773075d38a net: dsa: mv88e6xxx: Wait for EEPROM done before HW reset
| * 0a9040dede i40e: fix misleading debug logs
| * abe68922d7 team: Fix incorrect deletion of ETH_P_8021AD protocol vid from slaves
| * 526d42c558 net: phy: broadcom: stub c45 read/write for 54810
| * a7653eaea0 netfilter: nft_dynset: disallow object maps
| * 49f57a9087 ipvs: fix racy memcpy in proc_do_sync_threshold
| * c8d0d3811e drm/panel: simple: Fix AUO G121EAN01 panel timings according to the docs
| * 86517421f4 selftests: mirror_gre_changes: Tighten up the TTL test match
| * 614811692e xfrm: add forgotten nla_policy for XFRMA_MTIMER_THRESH
| * bd30aa9c7f xfrm: add NULL check in xfrm_update_ae_params
| * 0b4d69539f ip_vti: fix potential slab-use-after-free in decode_session6
| * ec23b25e56 ip6_vti: fix slab-use-after-free in decode_session6
| * bafa236380 xfrm: fix slab-use-after-free in decode_session6
| * 0f89909c80 net: xfrm: Amend XFRMA_SEC_CTX nla_policy structure
| * 8b92d03cfc net: af_key: fix sadb_x_filter validation
| * 7e50815d29 net: xfrm: Fix xfrm_address_filter OOB read
| * 549e4e167a i2c: designware: Handle invalid SMBus block data response length value
| * bd7bef82ce btrfs: fix BUG_ON condition in btrfs_cancel_balance
| * 483d713ba2 tty: serial: fsl_lpuart: Clear the error flags by writing 1 for lpuart32 platforms
| * 869ce5e598 tty: n_gsm: fix the UAF caused by race condition in gsm_cleanup_mux
| * 0ba7f969be powerpc/rtas_flash: allow user copy to flash block cache objects
| * c5f59de362 fbdev: mmp: fix value check in mmphw_probe()
| * 268cc9bc54 i2c: bcm-iproc: Fix bcm_iproc_i2c_isr deadlock issue
| * 3ff54d904f virtio-mmio: don't break lifecycle of vm_dev
| * b1fe05cc51 virtio-mmio: Use to_virtio_mmio_device() to simply code
| * 3b76d92636 tracing/probes: Fix to update dynamic data counter if fetcharg uses it
| * 265a979ded tracing/probes: Have process_fetch_insn() take a void * instead of pt_regs
| * a890545353 mmc: meson-gx: fix deferred probing
| * e8a41b4a50 mmc: meson-gx: use devm_mmc_alloc_host
| * 50ed76c9e0 mmc: core: add devm_mmc_alloc_host
| * d523ce6f51 mmc: sunxi: fix deferred probing
| * 939a12f29a mmc: bcm2835: fix deferred probing
| * 01dfc61f72 USB: dwc3: qcom: fix NULL-deref on suspend
| * 3e2b5d66e9 usb: cdns3: fix NCM gadget RX speed 20x slow than expection at iMX8QM
| * f5c11b45f3 usb: cdns3: allocate TX FIFO size according to composite EP number
| * a461bcfb36 usb: gadget: udc: core: Introduce check_config to verify USB configuration
| * a64f5fe493 irqchip/mips-gic: Use raw spinlock for gic_lock
| * 0704666c57 irqchip/mips-gic: Get rid of the reliance on irq_cpu_online()
| * 372f1752b7 bus: mhi: host: Range check CHDBOFF and ERDBOFF
| * 77944a6f3c bus: mhi: Move host MHI code to "host" directory
| * f738912615 bus: mhi: Add MMIO region length to controller structure
| * 1cacbb711e bus: mhi: Add MHI PCI support for WWAN modems
| * 436b423253 iio: addac: stx104: Fix race condition when converting analog-to-digital
| * aeecd8d97d iio: addac: stx104: Fix race condition for stx104_write_raw()
| * f6576d4851 iio: adc: stx104: Implement and utilize register structures
| * 9d16098245 iio: adc: stx104: Utilize iomap interface
| * d2ba1f40fc dt-bindings: iio: add AD74413R
| * c5e580831b iio: add addac subdirectory
| * bb70fdbfa2 IMA: allow/fix UML builds
| * 66a3b2a121 ring-buffer: Do not swap cpu_buffer during resize process
| * dd5a12cdf2 powerpc/kasan: Disable KCOV in KASAN code
| * 9f9eed4511 ALSA: hda: fix a possible null-pointer dereference due to data race in snd_hdac_regmap_sync()
| * 7a21c2e474 ALSA: hda/realtek: Add quirks for Unis H3C Desktop B760 & Q760
| * b870b9a47f drm/amdgpu: Fix potential fence use-after-free v2
| * f19add5c77 Bluetooth: btusb: Add MT7922 bluetooth ID for the Asus Ally
| * 2958cf9f80 Bluetooth: L2CAP: Fix use-after-free
| * 04bb8af40a pcmcia: rsrc_nonstatic: Fix memory leak in nonstatic_release_resource_db()
| * 7c5b2649f6 gfs2: Fix possible data races in gfs2_show_options()
| * e8f3d96051 usb: chipidea: imx: add missing USB PHY DPDM wakeup setting
| * 7a3a7c6fa0 usb: chipidea: imx: don't request QoS for imx8ulp
| * 2caeb722f0 media: platform: mediatek: vpu: fix NULL ptr dereference
| * 99d6afa19d usb: gadget: u_serial: Avoid spinlock recursion in __gs_console_push
| * e52de26cb3 media: v4l2-mem2mem: add lock to protect parameter num_rdy
| * 5c094ca994 FS: JFS: Check for read-only mounted filesystem in txBegin
| * 2a3f20efe6 FS: JFS: Fix null-ptr-deref Read in txBegin
| * e778c8b0a9 MIPS: dec: prom: Address -Warray-bounds warning
| * 911b48eec4 fs: jfs: Fix UBSAN: array-index-out-of-bounds in dbAllocDmapLev
| * 4503f6fc95 udf: Fix uninitialized array access for some pathnames
| * a2966e0436 ovl: check type and offset of struct vfsmount in ovl_entry
| * 73311dd831 RDMA/mlx5: Return the firmware result upon destroying QP/RQ
| * 19312bc3ff HID: add quirk for 03f0:464a HP Elite Presenter Mouse
| * 04bd3a362d drm/amdgpu: install stub fence into potential unused fence pointers
| * 04e774fb67 dma-remap: use kvmalloc_array/kvfree for larger dma memory remap
| * cbaebbba72 quota: fix warning in dqgrab()
| * 8a4f4d47b8 quota: Properly disable quotas when add_dquot_ref() fails
| * df907501ba iopoll: Call cpu_relax() in busy loops
| * 940ccc291c ASoC: Intel: sof_sdw: Add support for Rex soundwire
| * b2882c51e6 ARM: dts: imx6dl: prtrvt, prtvt7, prti6q, prtwd2: fix USB related warnings
| * dbe0f607f8 PCI: tegra194: Fix possible array out of bounds access
| * 10459ffd56 ASoC: Intel: sof_sdw: add quirk for LNL RVP
| * 9f4dd39696 ASoC: Intel: sof_sdw: add quirk for MTL RVP
| * 751c5b6a23 ALSA: emu10k1: roll up loops in DSP setup code for Audigy
| * e6825b30d3 drm/radeon: Fix integer overflow in radeon_cs_parser_init
| * e6c0a9728e net/mlx5: Skip clock update work when device is in error state
| * 81cc91bba4 net/mlx5: Move all internal timer metadata into a dedicated struct
| * ba2e27e510 net/mlx5: Refactor init clock function
| * e77ef78741 macsec: use DEV_STATS_INC()
| * ecf0e627fb macsec: Fix traffic counters/statistics
| * b630367a60 mmc: sdhci-f-sdh30: Replace with sdhci_pltfm
* | 412095349f Merge 5.10.191 into android12-5.10-lts
|\|
| * da742ebfa0 Linux 5.10.191
| * 3b55ce96ef sch_netem: fix issues in netem_change() vs get_dist_table()
| * db9d161a04 alpha: remove __init annotation from exported page_is_ram()
| * 4af122b5d7 scsi: qedf: Fix firmware halt over suspend and resume
| * 3bb05745ca scsi: qedi: Fix firmware halt over suspend and resume
| * aa9a76d5ff scsi: core: Fix possible memory leak if device_add() fails
| * 58889d5ad7 scsi: snic: Fix possible memory leak if device_add() fails
| * a370e2d653 scsi: 53c700: Check that command slot is not NULL
| * 1678408d08 scsi: storvsc: Fix handling of virtual Fibre Channel timeouts
| * 267ad381c2 scsi: core: Fix legacy /proc parsing buffer overflow
| * 039ce5eb6b netfilter: nf_tables: report use refcount overflow
| * 93b3195d37 nvme-rdma: fix potential unbalanced freeze & unfreeze
| * 9ad83e3e61 nvme-tcp: fix potential unbalanced freeze & unfreeze
| * 200ae5fa0b btrfs: set cache_block_group_error if we find an error
| * bd3175f9d5 btrfs: don't stop integrity writeback too early
| * c91d822127 ibmvnic: Handle DMA unmapping of login buffs in release functions
| * 9024873b94 ibmvnic: Unmap DMA login rsp buffer on send login fail
| * d4750cea76 ibmvnic: Enforce stronger sanity checks on login response
| * 879750c6a7 net/mlx5: Allow 0 for total host VFs
| * f8510dfa95 dmaengine: mcf-edma: Fix a potential un-allocated memory access
| * e8d349408a net: hns3: add wait until mac link down
| * 70660e6faa net: hns3: refactor hclge_mac_link_status_wait for interface reuse
| * b564f32fb3 net: phy: at803x: remove set/get wol callbacks for AR8032
| * 0d35738118 wifi: cfg80211: fix sband iftype data lookup for AP_VLAN
| * 33c677d1e0 IB/hfi1: Fix possible panic during hotplug remove
| * 13f7752f4a drivers: net: prevent tun_build_skb() to exceed the packet size limit
| * 6d701c95ee dccp: fix data-race around dp->dccps_mss_cache
| * 6d0bd7b7b3 bonding: Fix incorrect deletion of ETH_P_8021AD protocol vid from slaves
| * 5850c391fd tunnels: fix kasan splat when generating ipv4 pmtu error
| * b3b6b9331a net/packet: annotate data-races around tp->status
| * cafe399d4d mISDN: Update parameter type of dsp_cmx_send()
| * 4f1d1cc16a selftests: forwarding: tc_flower: Relax success criterion
| * 501e3de09a selftests: forwarding: Switch off timeout
| * fe8fac37aa selftests: forwarding: Skip test when no interfaces are specified
| * 44a47be97c selftests: forwarding: ethtool_extended_state: Skip when using veth pairs
| * 0a93fa240d selftests: forwarding: ethtool: Skip when using veth pairs
| * 7e6af9c133 selftests: forwarding: Add a helper to skip test when using veth pairs
| * e731ad5221 selftests/rseq: Fix build with undefined __weak
| * cba47d0c95 drm/nouveau/disp: Revert a NULL check inside nouveau_connector_get_modes
| * 98eaa12c96 x86: Move gds_ucode_mitigated() declaration to header
| * 09f78fc442 x86/speculation: Add cpu_show_gds() prototype
| * 5258281a93 x86/mm: Fix VDSO and VVAR placement on 5-level paging machines
| * eda9f8ffca x86/cpu/amd: Enable Zenbleed fix for AMD Custom APU 0405
| * cb1eefc046 x86/srso: Fix build breakage with the LLVM linker
| * df8d390a21 usb: common: usb-conn-gpio: Prevent bailing out if initial role is none
| * 598ccdb92d usb: dwc3: Properly handle processing of pending events
| * fe7c3a445d usb-storage: alauda: Fix uninit-value in alauda_check_media()
| * d7e5e2b87f binder: fix memory leak in binder_init()
| * 0439ce5aef iio: cros_ec: Fix the allocation size for cros_ec_command
| * aa425ee227 io_uring: correct check for O_TMPFILE
| * 3720724087 nilfs2: fix use-after-free of nilfs_root in dirtying inodes via iput
| * a16c66baa4 x86/pkeys: Revert a5eff72597 ("x86/pkeys: Add PKRU value to init_fpstate")
| * 04499d2c97 radix tree test suite: fix incorrect allocation size for pthreads
| * db0e1e2abd hwmon: (pmbus/bel-pfe) Enable PMBUS_SKIP_STATUS_CHECK for pfe1100
| * a73d999fdf drm/amd/display: check attr flag before set cursor degamma on DCN3+
| * 188e8e25ae drm/shmem-helper: Reset vma->vm_ops before calling dma_buf_mmap()
| * 6b6839e440 drm/nouveau/gr: enable memory loads on helper invocation on all channels
| * 002cde0b78 riscv,mmio: Fix readX()-to-delay() ordering
| * 8362ad5367 dmaengine: pl330: Return DMA_PAUSED when transaction is paused
| * 7328c5319e selftests/bpf: Fix sk_assign on s390x
| * b1a3e27d6b selftests/bpf: Workaround verification failure for fexit_bpf2bpf/func_replace_return_code
| * 4af2d9ddb7 selftests/bpf: make test_align selftest more robust
| * 1952a4d5e4 bpf: aggressively forget precise markings during state checkpointing
| * 7ca3e7459f bpf: stop setting precise in current state
| * 2474ec58b9 bpf: allow precision tracking for programs with subprogs
| * 6796c2a0c5 ipv6: adjust ndisc_is_useropt() to also return true for PIO
| * f327f463c7 mmc: moxart: read scr register without changing byte order
| * 890ac460b0 wireguard: allowedips: expand maximum node depth
* | e06ad3b48e Revert "drm/ttm: add ttm_bo_pin()/ttm_bo_unpin() v2"
* | 918b4c2c76 Revert "drm/ttm: make ttm_bo_unpin more defensive"
* | 1c80a01fc2 Revert "drm/ttm: never consider pinned BOs for eviction&swap"
* | 70435a8ac9 Revert "drm/ttm: check null pointer before accessing when swapping"
* | 0dd121e0e6 Revert "tracing: Show real address for trace event arguments"
* | 06fab437d7 Revert "tracing: Fix sleeping while atomic in kdb ftdump"
* | df0f5bd7a8 Merge 5.10.190 into android12-5.10-lts
|/
* ec585727b6 Linux 5.10.190
* b6fc2fbf89 x86/CPU/AMD: Do not leak quotient data after a division by 0
* 98b7ab5e8d ARM: dts: nxp/imx6sll: fix wrong property name in usbphy node
* 14f2e2ac73 ARM: dts: imx6sll: fixup of operating points
* f1c928496d ARM: dts: imx: add usb alias
* c0e7123e89 wifi: mt76: mt7615: do not advertise 5 GHz on first phy of MT7615D (DBDC)
* 37fad83ae5 mt76: mt7615: Fix fall-through warnings for Clang
* b85c7882fd mt76: move band capabilities in mt76_phy
* 381f7df0f3 exfat: check if filename entries exceeds max filename length
* bd3bdb9e0d exfat: support dynamic allocate bh for exfat_entry_set_cache
* e0d192a402 exfat: speed up iterate/lookup by fixing start point of traversing cluster chain
* 86e4e949ea PM: sleep: wakeirq: fix wake irq arming
* 9a320469ad PM / wakeirq: support enabling wake-up irq after runtime_suspend called
* 48d1d0ce07 soundwire: fix enumeration completion
* 7d949774e7 soundwire: bus: pm_runtime_request_resume on peripheral attachment
* 662735bc11 soundwire: bus: add better dev_dbg to track complete() calls
* 173d9c7090 selftests/rseq: Play nice with binaries statically linked against glibc 2.35+
* c08de20e70 selftests/rseq: check if libc rseq support is registered
* fbb6657037 powerpc/mm/altmap: Fix altmap boundary check
* 1f09d67d39 mtd: rawnand: fsl_upm: Fix an off-by one test in fun_exec_op()
* 027710952b mtd: rawnand: omap_elm: Fix incorrect type in assignment
* d328849fb6 ext2: Drop fragment support
* 7e4e87ec56 fs: Protect reconfiguration of sb read-write from racing writes
* ec0d0be417 net: usbnet: Fix WARNING in usbnet_start_xmit/usb_submit_urb
* 06f87c9621 Bluetooth: L2CAP: Fix use-after-free in l2cap_sock_ready_cb
* 7f740bc696 fs/sysv: Null check to prevent null-ptr-deref bug
* 426656e8dd tracing: Fix sleeping while atomic in kdb ftdump
* 4f86da9abe file: reinstate f_pos locking optimization for regular files
* d39971d902 drm/ttm: check null pointer before accessing when swapping
* c9c78b91c7 open: make RESOLVE_CACHED correctly test for O_TMPFILE
* 3048cb0dc0 bpf: Disable preemption in bpf_event_output
* 33a339e717 net: tap_open(): set sk_uid from current_fsuid()
* 5ea23f1cb6 net: tun_chr_open(): set sk_uid from current_fsuid()
* 8d104bfd41 arm64: dts: stratix10: fix incorrect I2C property for SCL signal
* 8625802a1b mtd: rawnand: meson: fix OOB available bytes for ECC
* 82dc2bffea mtd: spinand: toshiba: Fix ecc_get_status
* ddf7cc7029 exfat: release s_lock before calling dir_emit()
* 79d16a84ea exfat: use kvmalloc_array/kvfree instead of kmalloc_array/kfree
* a4b2673e3c ceph: defer stopping mdsc delayed_work
* b5b39ff691 USB: zaurus: Add ID for A-300/B-500/C-700
* 513bfdde8a libceph: fix potential hang in ceph_osdc_notify()
* 181274d2f3 scsi: zfcp: Defer fc_rport blocking until after ADISC response
* 6d9f5f3d89 tcp_metrics: fix data-race in tcpm_suck_dst() vs fastopen
* 05d1dc88c4 tcp_metrics: annotate data-races around tm->tcpm_net
* 079afb1815 tcp_metrics: annotate data-races around tm->tcpm_vals[]
* 57bcbbb208 tcp_metrics: annotate data-races around tm->tcpm_lock
* 289091eef3 tcp_metrics: annotate data-races around tm->tcpm_stamp
* 420aad608f tcp_metrics: fix addr_same() helper
* 80e9488ece net/mlx5: fs_core: Skip the FTs in the same FS_TYPE_PRIO_CHAINS fs_prio
* 7a634336a0 net/mlx5: fs_core: Make find_closest_ft more generic
* c650597647 vxlan: Fix nexthop hash size
* 1683124129 ip6mr: Fix skb_under_panic in ip6mr_cache_report()
* c33d5a5c5b s390/qeth: Don't call dev_close/dev_open (DOWN/UP)
* 8e309f43d0 net: dcb: choose correct policy to parse DCB_ATTR_BCN
* 6d4f24736d net: netsec: Ignore 'phy-mode' on SynQuacer in DT mode
* 216092963c net: ll_temac: fix error checking of irq_of_parse_and_map()
* 20fe059c1d net: ll_temac: Switch to use dev_err_probe() helper
* a0e42f4bd4 bpf: sockmap: Remove preempt_disable in sock_map_sk_acquire
* aaa71c4e8a net/sched: cls_route: No longer copy tcf_result on update to avoid use-after-free
* a8d478200b net/sched: cls_fw: No longer copy tcf_result on update to avoid use-after-free
* b4256c99a7 net/sched: cls_u32: No longer copy tcf_result on update to avoid use-after-free
* 268b29ef19 net: add missing data-race annotation for sk_ll_usec
* ad417bab9d net: add missing data-race annotations around sk->sk_peek_off
* 11e0590af3 net: add missing READ_ONCE(sk->sk_rcvbuf) annotation
* dc20f7bada net: add missing READ_ONCE(sk->sk_sndbuf) annotation
* 427c611d84 net: add missing READ_ONCE(sk->sk_rcvlowat) annotation
* c7ebe08f40 net: annotate data-races around sk->sk_max_pacing_rate
* 14db69381d mISDN: hfcpci: Fix potential deadlock on &hc->lock
* d163337bef net: sched: cls_u32: Fix match key mis-addressing
* e68929f11b perf test uprobe_from_different_cu: Skip if there is no gcc
* eb8031b7ce net: dsa: fix value check in bcm_sf2_sw_probe()
* abb0172fa8 rtnetlink: let rtnl_bridge_setlink checks IFLA_BRIDGE_MODE length
* 6b93c51068 bpf: Add length check for SK_DIAG_BPF_STORAGE_REQ_MAP_FD parsing
* 2cf6791207 net/mlx5e: fix return value check in mlx5e_ipsec_remove_trailer()
* 1651598547 net/mlx5: DR, fix memory leak in mlx5dr_cmd_create_reformat_ctx
* ef3d0a732d wifi: cfg80211: Fix return value in scan logic
* b4bdcbc0e3 KVM: s390: fix sthyi error handling
* 4241cfc973 word-at-a-time: use the same return type for has_zero regardless of endianness
* 94f8447ab8 arm64: dts: imx8mn-var-som: add missing pull-up for onboard PHY reset pinmux
* 832a4d4cdb loop: Select I/O scheduler 'none' from inside add_disk()
* 3f7395c382 perf: Fix function pointer case
* a883b98dc7 io_uring: gate iowait schedule on having pending requests
* 058c0cbd25 x86/kprobes: Fix JNG/JNLE emulation
* edc2ac7c72 x86/kprobes: Update kcb status flag after singlestepping
* f07f3938c8 x86/kprobes: Move 'inline' to the beginning of the kprobe_is_ss() declaration
* 2b5afe25f5 x86/kprobes: Fix to identify indirect jmp and others using range case
* ba7d1dae9f x86/kprobes: Use int3 instead of debug trap for single-step
* 2c57553a77 x86/kprobes: Identify far indirect JMP correctly
* 41db23bad9 x86/kprobes: Retrieve correct opcode for group instruction
* ff97a14c8a x86/kprobes: Do not decode opcode in resume_execution()
* 5601d812c8 kprobes/x86: Fix fall-through warnings for Clang
* 7a413fa047 ASoC: cs42l51: fix driver to properly autoload with automatic module loading
* 4d360a8194 io_uring: treat -EAGAIN for REQ_F_NOWAIT as final for io-wq
* 9164e27c5a selftests: mptcp: depend on SYN_COOKIES
* f0acd6c3a2 cpufreq: intel_pstate: Drop ACPI _PSS states table patching
* a241fc02f1 ACPI: processor: perflib: Avoid updating frequency QoS unnecessarily
* ad938dd2af ACPI: processor: perflib: Use the "no limit" frequency QoS
* 4148f28f98 drm/ttm: make ttm_bo_unpin more defensive
* c0f2b2b020 dm cache policy smq: ensure IO doesn't prevent cleaner policy progress
* aae65b1793 ceph: never send metrics if disable_send_metrics is set
* 4f669618c9 ASoC: wm8904: Fill the cache for WM8904_ADC_TEST_0 register
* c837f121bc s390/dasd: fix hanging device after quiesce/resume
* 276738b382 virtio-net: fix race between set queues and probe
* 3d10481a90 btrfs: check if the transaction was aborted at btrfs_wait_for_commit()
* fc511ae405 staging: r8712: Fix memory leak in _r8712_init_xmit_priv()
* 223ecf871b staging: rtl8712: Use constants from <linux/ieee80211.h>
* 836b131683 KVM: VMX: Don't fudge CR0 and CR4 for restricted L2 guest
* c710ff0612 KVM: nVMX: Do not clear CR3 load/store exiting bits if L1 wants 'em
* 7fc51da40b KVM: VMX: Fold ept_update_paging_mode_cr0() back into vmx_set_cr0()
* 96c73bc9ef KVM: VMX: Invert handling of CR0.WP for EPT without unrestricted guest
* 90cd5ab951 irqchip/gic-v4.1: Properly lock VPEs when doing a directLPI invalidation
* 57b8db5800 irq-bcm6345-l1: Do not assume a fixed block to cpu mapping
* b1867cddd7 tpm_tis: Explicitly check for error code
* 5be81139d2 nfsd: Remove incorrect check in nfsd4_validate_stateid
* 4a871fcebc file: always lock position for FMODE_ATOMIC_POS
* c5c797ccc3 btrfs: check for commit error at btrfs_attach_transaction_barrier()
* 5e0e4e72ca hwmon: (nct7802) Fix for temp6 (PECI1) processed even if PECI1 disabled
* 7c6df7f0fc ALSA: hda/relatek: Enable Mute LED on HP 250 G8
* 8fc0eabaa7 tty: n_gsm: fix UAF in gsm_cleanup_mux
* caac4b6c15 staging: ks7010: potential buffer overflow in ks_wlan_set_encode_ext()
* baef414b1c Documentation: security-bugs.rst: clarify CVE handling
* 0d5b23743b Documentation: security-bugs.rst: update preferences when dealing with the linux-distros group
* 65cd02e3c3 Revert "usb: xhci: tegra: Fix error check"
* b0fd110578 usb: xhci-mtk: set the dma max_seg_size
* d0b588bbe4 USB: quirks: add quirk for Focusrite Scarlett
* 66a622275a usb: ohci-at91: Fix the unhandle interrupt when resume
* 96c433aff5 usb: dwc3: don't reset device side if dwc3 was configured as host-only
* 05b201de44 usb: dwc3: pci: skip BYT GPIO lookup table for hardwired phy
* 75ad45cef6 Revert "usb: dwc3: core: Enable AutoRetry feature in the controller"
* bf468806b6 can: gs_usb: gs_can_close(): add missing set of CAN state to CAN_STATE_STOPPED
* d5db33a667 USB: serial: simple: sort driver entries
* 81c54eef1d USB: serial: simple: add Kaufmann RKS+CAN VCP
* fca2a74eee USB: serial: option: add Quectel EC200A module support
* c704cb2113 USB: serial: option: support Quectel EM060K_128
* 1037ee1dbf serial: sifive: Fix sifive_serial_console_setup() section
* 6209a7383d serial: 8250_dw: Preserve original value of DLF register
* 9e671a6116 serial: qcom-geni: drop bogus runtime pm state update
* 68e6287ac6 USB: gadget: Fix the memory leak in raw_gadget driver
* da1b105dc6 Revert "usb: gadget: tegra-xudc: Fix error check in tegra_xudc_powerdomain_init()"
* a6d2fd1703 tracing: Fix warning in trace_buffered_event_disable()
* 0efbdbc453 ring-buffer: Fix wrong stat of cpu_buffer->read
* e410839c0c ata: pata_ns87415: mark ns87560_tf_read static
* 82ce0ae87a dm raid: protect md_stop() with 'reconfig_mutex'
* d6a1cf4ee5 dm raid: clean up four equivalent goto tags in raid_ctr()
* a43c761a7e dm raid: fix missing reconfig_mutex unlock in raid_ctr() error paths
* d82bfe9686 block: Fix a source code comment in include/uapi/linux/blkzoned.h
* ab6d14bc40 ASoC: fsl_spdif: Silence output on stop
* 94bac776cd drm/msm: Fix IS_ERR_OR_NULL() vs NULL check in a5xx_submit_in_rb()
* b0100bdb9d RDMA/mthca: Fix crash when polling CQ for shared QPs
* 62a8a4cafa drm/msm/adreno: Fix snapshot BINDLESS_DATA size
* 5c9e03b867 drm/msm/dpu: drop enum dpu_core_perf_data_bus_id
* 08aa5a5297 RDMA/mlx4: Make check for invalid flags stricter
* 9d1fd118bc tipc: stop tipc crypto on failure in tipc_node_create
* d03de93776 tipc: check return value of pskb_trim()
* 3661bab5af benet: fix return value check in be_lancer_xmit_workarounds()
* f40f7a858b net/sched: mqprio: Add length check for TCA_MQPRIO_{MAX/MIN}_RATE64
* 3ed3729a6a net/sched: mqprio: add extack to mqprio_parse_nlattr()
* 6227b46154 net/sched: mqprio: refactor nlattr parsing to a separate function
* 308a43f152 netfilter: nf_tables: disallow rule addition to bound chain via NFTA_RULE_CHAIN_ID
* ab5a97a94b netfilter: nf_tables: skip immediate deactivate in _PREPARE_ERROR
* 7782ce022f netfilter: nftables: add helper function to validate set element data
* 893cb3c351 netfilter: nft_set_rbtree: fix overlap expiration walk
* 89060b831c platform/x86: msi-laptop: Fix rfkill out-of-sync on MSI Wind U100
* 75f57acda3 team: reset team's flags when down link is P2P device
* de982f46be bonding: reset bond's flags when down link is P2P device
* b2712c4bfc ice: Fix memory management in ice_ethtool_fdir.c
* 0cd74fbd3b tcp: Reduce chance of collisions in inet6_hashfn().
* b55a2b34b1 ipv6 addrconf: fix bug where deleting a mngtmpaddr can create a new temporary address
* 5a3c929682 ethernet: atheros: fix return value check in atl1e_tso_csum()
* ad249aa3c3 phy: hisilicon: Fix an out of bounds check in hisi_inno_phy_probe()
* 6f26f14573 vxlan: calculate correct header length for GPE
* d2741769d5 vxlan: move to its own directory
* 076f786f04 net: hns3: fix wrong bw weight of disabled tc issue
* 344b7c0003 net: hns3: reconstruct function hclge_ets_validate()
* 111b699300 net: phy: marvell10g: fix 88x3310 power up
* 8a6cc852f6 i40e: Fix an NULL vs IS_ERR() bug for debugfs_create_dir()
* 39c789c957 media: staging: atomisp: select V4L2_FWNODE
* fb1db97904 phy: qcom-snps-femto-v2: properly enable ref clock
* ffebc22bdd phy: qcom-snps-femto-v2: keep cfg_ahb_clk enabled during runtime suspend
* f34090579a phy: qcom-snps: correct struct qcom_snps_hsphy kerneldoc
* ceba255a79 phy: qcom-snps: Use dev_err_probe() to simplify code
* ed3d841f2f ext4: fix to check return value of freeze_bdev() in ext4_shutdown()
* e3454b438c pwm: meson: fix handling of period/duty if greater than UINT_MAX
* b306d09967 pwm: meson: Simplify duplicated per-channel tracking
* 840ce9cfc8 tracing: Show real address for trace event arguments
* 8996b13051 drm/ttm: never consider pinned BOs for eviction&swap
* 5f6d5b58c5 drm/ttm: add ttm_bo_pin()/ttm_bo_unpin() v2
* 1815d9bf02 fs: dlm: interrupt posix locks only when process is killed
* 0f6741acfd dlm: rearrange async condition return
* 7931233310 dlm: cleanup plock_op vs plock_xop
* 838d6e86ec PCI/ASPM: Avoid link retraining race
* 9f283ca643 PCI/ASPM: Factor out pcie_wait_for_retrain()
* ffc0ee491f PCI/ASPM: Return 0 or -ETIMEDOUT from pcie_retrain_link()
* 9fd349c885 i2c: nomadik: Remove a useless call in the remove function
* a7ab5d7943 i2c: nomadik: Use devm_clk_get_enabled()
* ec954a4ab0 i2c: nomadik: Remove unnecessary goto label
* 04b1140678 i2c: Improve size determinations
* 41e90f0e50 i2c: Delete error messages for failed memory allocations
* 52df40a5c7 btrfs: fix extent buffer leak after tree mod log failure at split_node()
* 52403c3dad btrfs: fix race between quota disable and relocation
* 3069fc0326 gpio: tps68470: Make tps68470_gpio_output() always set the initial value
* 22786d5381 io_uring: don't audit the capability check in io_uring_create()
* 8e635da0e0 KVM: s390: pv: fix index value of replaced ASCE

Change-Id: I0a0bef19a2542dd337e01594e091619a1e35698a
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2023-10-31 10:18:41 +00:00
Greg Kroah-Hartman 3414e62421 Merge 5.10.197 into android12-5.10-lts
Changes in 5.10.197
	autofs: fix memory leak of waitqueues in autofs_catatonic_mode
	btrfs: output extra debug info if we failed to find an inline backref
	locks: fix KASAN: use-after-free in trace_event_raw_event_filelock_lock
	ACPICA: Add AML_NO_OPERAND_RESOLVE flag to Timer
	kernel/fork: beware of __put_task_struct() calling context
	rcuscale: Move rcu_scale_writer() schedule_timeout_uninterruptible() to _idle()
	scftorture: Forgive memory-allocation failure if KASAN
	ACPI: video: Add backlight=native DMI quirk for Lenovo Ideapad Z470
	perf/smmuv3: Enable HiSilicon Erratum 162001900 quirk for HIP08/09
	ACPI: video: Add backlight=native DMI quirk for Apple iMac12,1 and iMac12,2
	hw_breakpoint: fix single-stepping when using bpf_overflow_handler
	devlink: remove reload failed checks in params get/set callbacks
	crypto: lrw,xts - Replace strlcpy with strscpy
	wifi: ath9k: fix fortify warnings
	wifi: ath9k: fix printk specifier
	wifi: mwifiex: fix fortify warning
	wifi: wil6210: fix fortify warnings
	crypto: lib/mpi - avoid null pointer deref in mpi_cmp_ui()
	tpm_tis: Resend command to recover from data transfer errors
	mmc: sdhci-esdhc-imx: improve ESDHC_FLAG_ERR010450
	alx: fix OOB-read compiler warning
	netfilter: ebtables: fix fortify warnings in size_entry_mwt()
	wifi: mac80211_hwsim: drop short frames
	drm/bridge: tc358762: Instruct DSI host to generate HSE packets
	samples/hw_breakpoint: Fix kernel BUG 'invalid opcode: 0000'
	ALSA: hda: intel-dsp-cfg: add LunarLake support
	drm/exynos: fix a possible null-pointer dereference due to data race in exynos_drm_crtc_atomic_disable()
	bus: ti-sysc: Configure uart quirks for k3 SoC
	md: raid1: fix potential OOB in raid1_remove_disk()
	ext2: fix datatype of block number in ext2_xattr_set2()
	fs/jfs: prevent double-free in dbUnmount() after failed jfs_remount()
	jfs: fix invalid free of JFS_IP(ipimap)->i_imap in diUnmount
	powerpc/pseries: fix possible memory leak in ibmebus_bus_init()
	media: dvb-usb-v2: af9035: Fix null-ptr-deref in af9035_i2c_master_xfer
	media: dw2102: Fix null-ptr-deref in dw2102_i2c_transfer()
	media: af9005: Fix null-ptr-deref in af9005_i2c_xfer
	media: anysee: fix null-ptr-deref in anysee_master_xfer
	media: az6007: Fix null-ptr-deref in az6007_i2c_xfer()
	media: dvb-usb-v2: gl861: Fix null-ptr-deref in gl861_i2c_master_xfer
	media: tuners: qt1010: replace BUG_ON with a regular error
	media: pci: cx23885: replace BUG with error return
	usb: gadget: fsl_qe_udc: validate endpoint index for ch9 udc
	scsi: target: iscsi: Fix buffer overflow in lio_target_nacl_info_show()
	serial: cpm_uart: Avoid suspicious locking
	media: pci: ipu3-cio2: Initialise timing struct to avoid a compiler warning
	kobject: Add sanity check for kset->kobj.ktype in kset_register()
	mtd: rawnand: brcmnand: Allow SoC to provide I/O operations
	mtd: rawnand: brcmnand: Fix ECC level field setting for v7.2 controller
	perf jevents: Make build dependency on test JSONs
	perf tools: Add an option to build without libbfd
	btrfs: move btrfs_pinned_by_swapfile prototype into volumes.h
	btrfs: add a helper to read the superblock metadata_uuid
	btrfs: compare the correct fsid/metadata_uuid in btrfs_validate_super
	drm: gm12u320: Fix the timeout usage for usb_bulk_msg()
	scsi: qla2xxx: Fix NULL vs IS_ERR() bug for debugfs_create_dir()
	selftests: tracing: Fix to unmount tracefs for recovering environment
	scsi: lpfc: Fix the NULL vs IS_ERR() bug for debugfs_create_file()
	x86/boot/compressed: Reserve more memory for page tables
	samples/hw_breakpoint: fix building without module unloading
	md/raid1: fix error: ISO C90 forbids mixed declarations
	attr: block mode changes of symlinks
	ovl: fix incorrect fdput() on aio completion
	btrfs: fix lockdep splat and potential deadlock after failure running delayed items
	btrfs: release path before inode lookup during the ino lookup ioctl
	drm/amdgpu: fix amdgpu_cs_p1_user_fence
	net/sched: Retire rsvp classifier
	proc: fix a dentry lock race between release_task and lookup
	mm/filemap: fix infinite loop in generic_file_buffered_read()
	drm/amd/display: enable cursor degamma for DCN3+ DRM legacy gamma
	tracing: Have current_trace inc the trace array ref count
	tracing: Have option files inc the trace array ref count
	nfsd: fix change_info in NFSv4 RENAME replies
	tracefs: Add missing lockdown check to tracefs_create_dir()
	i2c: aspeed: Reset the i2c controller when timeout occurs
	ata: libata: disallow dev-initiated LPM transitions to unsupported states
	scsi: megaraid_sas: Fix deadlock on firmware crashdump
	scsi: pm8001: Setup IRQs on resume
	ext4: fix rec_len verify error
	Linux 5.10.197

Change-Id: Ic8626d7d13ec54d438c4d80efe1f8b6bddeb84a8
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2023-10-26 17:52:15 +00:00
Yicong Yang dc01bfdc3d perf/smmuv3: Enable HiSilicon Erratum 162001900 quirk for HIP08/09
[ Upstream commit 0242737dc4 ]

Some HiSilicon SMMU PMCG suffers the erratum 162001900 that the PMU
disable control sometimes fail to disable the counters. This will lead
to error or inaccurate data since before we enable the counters the
counter's still counting for the event used in last perf session.

This patch tries to fix this by hardening the global disable process.
Before disable the PMU, writing an invalid event type (0xffff) to
focibly stop the counters. Correspondingly restore each events on
pmu::pmu_enable().

Signed-off-by: Yicong Yang <yangyicong@hisilicon.com>
Link: https://lore.kernel.org/r/20230814124012.58013-1-yangyicong@huawei.com
Signed-off-by: Will Deacon <will@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-09-23 11:01:05 +02:00
Lorenzo Pieralisi 6efa28db9a BACKPORT: FROMGIT: irqchip/gic-v3: Workaround for GIC-700 erratum 2941627
GIC700 erratum 2941627 may cause GIC-700 missing SPIs wake
requests when SPIs are deactivated while targeting a
sleeping CPU - ie a CPU for which the redistributor:

GICR_WAKER.ProcessorSleep == 1

This runtime situation can happen if an SPI that has been
activated on a core is retargeted to a different core, it
becomes pending and the target core subsequently enters a
power state quiescing the respective redistributor.

When this situation is hit, the de-activation carried out
on the core that activated the SPI (through either ICC_EOIR1_EL1
or ICC_DIR_EL1 register writes) does not trigger a wake
requests for the sleeping GIC redistributor even if the SPI
is pending.

Work around the erratum by de-activating the SPI using the
redistributor GICD_ICACTIVER register if the runtime
conditions require it (ie the IRQ was retargeted between
activation and de-activation).

Bug: 292459437
Change-Id: Ide915b8c925a631a7fc9ccebca19d9175def162e
Signed-off-by: Lorenzo Pieralisi <lpieralisi@kernel.org>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20230704155034.148262-1-lpieralisi@kernel.org
(cherry picked from commit 6fe5c68ee6 https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git irq/irqchip-fixes)
[Defined CPUIF_MAP for ICC_EOIR1_EL1 register]
Signed-off-by: Carlos Galo <carlosgalo@google.com>
2023-08-11 23:10:10 +00:00
Greg Kroah-Hartman 27b36ba7c2 Merge 5.10.152 into android12-5.10-lts
Changes in 5.10.152
	ocfs2: clear dinode links count in case of error
	ocfs2: fix BUG when iput after ocfs2_mknod fails
	selinux: enable use of both GFP_KERNEL and GFP_ATOMIC in convert_context()
	cpufreq: qcom: fix writes in read-only memory region
	i2c: qcom-cci: Fix ordering of pm_runtime_xx and i2c_add_adapter
	x86/microcode/AMD: Apply the patch early on every logical thread
	hwmon/coretemp: Handle large core ID value
	ata: ahci-imx: Fix MODULE_ALIAS
	ata: ahci: Match EM_MAX_SLOTS with SATA_PMP_MAX_PORTS
	cpufreq: qcom: fix memory leak in error path
	kvm: Add support for arch compat vm ioctls
	KVM: arm64: vgic: Fix exit condition in scan_its_table()
	media: mceusb: set timeout to at least timeout provided
	media: venus: dec: Handle the case where find_format fails
	block: wbt: Remove unnecessary invoking of wbt_update_limits in wbt_init
	blk-wbt: call rq_qos_add() after wb_normal is initialized
	arm64: errata: Remove AES hwcap for COMPAT tasks
	r8152: add PID for the Lenovo OneLink+ Dock
	btrfs: fix processing of delayed data refs during backref walking
	btrfs: fix processing of delayed tree block refs during backref walking
	ACPI: extlog: Handle multiple records
	tipc: Fix recognition of trial period
	tipc: fix an information leak in tipc_topsrv_kern_subscr
	i40e: Fix DMA mappings leak
	HID: magicmouse: Do not set BTN_MOUSE on double report
	sfc: Change VF mac via PF as first preference if available.
	net/atm: fix proc_mpc_write incorrect return value
	net: phy: dp83867: Extend RX strap quirk for SGMII mode
	cifs: Fix xid leak in cifs_copy_file_range()
	cifs: Fix xid leak in cifs_flock()
	cifs: Fix xid leak in cifs_ses_add_channel()
	net: hsr: avoid possible NULL deref in skb_clone()
	ionic: catch NULL pointer issue on reconfig
	nvme-hwmon: rework to avoid devm allocation
	nvme-hwmon: Return error code when registration fails
	nvme-hwmon: consistently ignore errors from nvme_hwmon_init
	nvme-hwmon: kmalloc the NVME SMART log buffer
	net: sched: cake: fix null pointer access issue when cake_init() fails
	net: sched: delete duplicate cleanup of backlog and qlen
	net: sched: sfb: fix null pointer access issue when sfb_init() fails
	sfc: include vport_id in filter spec hash and equal()
	net: hns: fix possible memory leak in hnae_ae_register()
	net: sched: fix race condition in qdisc_graft()
	net: phy: dp83822: disable MDI crossover status change interrupt
	iommu/vt-d: Allow NVS regions in arch_rmrr_sanity_check()
	iommu/vt-d: Clean up si_domain in the init_dmars() error path
	drm/virtio: Use appropriate atomic state in virtio_gpu_plane_cleanup_fb()
	dmaengine: mxs-dma: Remove the unused .id_table
	dmaengine: mxs: use platform_driver_register
	tracing: Simplify conditional compilation code in tracing_set_tracer()
	tracing: Do not free snapshot if tracer is on cmdline
	xen: assume XENFEAT_gnttab_map_avail_bits being set for pv guests
	xen/gntdev: Accommodate VMA splitting
	mmc: sdhci-tegra: Use actual clock rate for SW tuning correction
	riscv: Add machine name to kernel boot log and stack dump output
	riscv: always honor the CONFIG_CMDLINE_FORCE when parsing dtb
	perf pmu: Validate raw event with sysfs exported format bits
	perf: Skip and warn on unknown format 'configN' attrs
	fcntl: make F_GETOWN(EX) return 0 on dead owner task
	fcntl: fix potential deadlocks for &fown_struct.lock
	arm64: dts: qcom: sc7180-trogdor: Fixup modem memory region
	arm64: topology: move store_cpu_topology() to shared code
	riscv: topology: fix default topology reporting
	perf/x86/intel/pt: Relax address filter validation
	hv_netvsc: Fix race between VF offering and VF association message from host
	ACPI: video: Force backlight native for more TongFang devices
	x86/Kconfig: Drop check for -mabi=ms for CONFIG_EFI_STUB
	Makefile.debug: re-enable debug info for .S files
	mmc: core: Add SD card quirk for broken discard
	blk-wbt: fix that 'rwb->wc' is always set to 1 in wbt_init()
	mm: /proc/pid/smaps_rollup: fix no vma's null-deref
	udp: Update reuse->has_conns under reuseport_lock.
	Linux 5.10.152

Change-Id: I2c75b6fd3ae205968bcc3133ebf71b82ff2a19b6
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2022-11-21 15:46:22 +00:00
James Morse 51b96ecaed arm64: errata: Remove AES hwcap for COMPAT tasks
commit 44b3834b2e upstream.

Cortex-A57 and Cortex-A72 have an erratum where an interrupt that
occurs between a pair of AES instructions in aarch32 mode may corrupt
the ELR. The task will subsequently produce the wrong AES result.

The AES instructions are part of the cryptographic extensions, which are
optional. User-space software will detect the support for these
instructions from the hwcaps. If the platform doesn't support these
instructions a software implementation should be used.

Remove the hwcap bits on affected parts to indicate user-space should
not use the AES instructions.

Acked-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: James Morse <james.morse@arm.com>
Link: https://lore.kernel.org/r/20220714161523.279570-3-james.morse@arm.com
Signed-off-by: Will Deacon <will@kernel.org>
[florian: removed arch/arm64/tools/cpucaps and fixup cpufeature.c]
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-10-30 09:41:16 +01:00
Greg Kroah-Hartman 3dbfa90b61 Merge 5.10.143 into android12-5.10-lts
Changes in 5.10.143
	NFSD: Fix verifier returned in stable WRITEs
	xen-blkfront: Cache feature_persistent value before advertisement
	tty: n_gsm: initialize more members at gsm_alloc_mux()
	tty: n_gsm: avoid call of sleeping functions from atomic context
	efi: libstub: Disable struct randomization
	efi: capsule-loader: Fix use-after-free in efi_capsule_write
	wifi: iwlegacy: 4965: corrected fix for potential off-by-one overflow in il4965_rs_fill_link_cmd()
	fs: only do a memory barrier for the first set_buffer_uptodate()
	Revert "mm: kmemleak: take a full lowmem check in kmemleak_*_phys()"
	scsi: qla2xxx: Disable ATIO interrupt coalesce for quad port ISP27XX
	scsi: megaraid_sas: Fix double kfree()
	drm/gem: Fix GEM handle release errors
	drm/amdgpu: Move psp_xgmi_terminate call from amdgpu_xgmi_remove_device to psp_hw_fini
	drm/amdgpu: Check num_gfx_rings for gfx v9_0 rb setup.
	drm/radeon: add a force flush to delay work when radeon
	parisc: ccio-dma: Handle kmalloc failure in ccio_init_resources()
	parisc: Add runtime check to prevent PA2.0 kernels on PA1.x machines
	arm64: cacheinfo: Fix incorrect assignment of signed error value to unsigned fw_level
	net/core/skbuff: Check the return value of skb_copy_bits()
	fbdev: chipsfb: Add missing pci_disable_device() in chipsfb_pci_init()
	drm/amdgpu: mmVM_L2_CNTL3 register not initialized correctly
	ALSA: emu10k1: Fix out of bounds access in snd_emu10k1_pcm_channel_alloc()
	ALSA: aloop: Fix random zeros in capture data when using jiffies timer
	ALSA: usb-audio: Fix an out-of-bounds bug in __snd_usb_parse_audio_interface()
	kprobes: Prohibit probes in gate area
	debugfs: add debugfs_lookup_and_remove()
	nvmet: fix a use-after-free
	drm/i915: Implement WaEdpLinkRateDataReload
	scsi: mpt3sas: Fix use-after-free warning
	scsi: lpfc: Add missing destroy_workqueue() in error path
	cgroup: Elide write-locking threadgroup_rwsem when updating csses on an empty subtree
	cgroup: Fix threadgroup_rwsem <-> cpus_read_lock() deadlock
	cifs: remove useless parameter 'is_fsctl' from SMB2_ioctl()
	smb3: missing inode locks in punch hole
	ARM: dts: imx6qdl-kontron-samx6i: remove duplicated node
	regulator: core: Clean up on enable failure
	tee: fix compiler warning in tee_shm_register()
	RDMA/cma: Fix arguments order in net device validation
	soc: brcmstb: pm-arm: Fix refcount leak and __iomem leak bugs
	RDMA/hns: Fix supported page size
	RDMA/hns: Fix wrong fixed value of qp->rq.wqe_shift
	ARM: dts: at91: sama5d27_wlsom1: specify proper regulator output ranges
	ARM: dts: at91: sama5d2_icp: specify proper regulator output ranges
	ARM: dts: at91: sama5d27_wlsom1: don't keep ldo2 enabled all the time
	ARM: dts: at91: sama5d2_icp: don't keep vdd_other enabled all the time
	netfilter: br_netfilter: Drop dst references before setting.
	netfilter: nf_tables: clean up hook list when offload flags check fails
	netfilter: nf_conntrack_irc: Fix forged IP logic
	ALSA: usb-audio: Inform the delayed registration more properly
	ALSA: usb-audio: Register card again for iface over delayed_register option
	rxrpc: Fix an insufficiently large sglist in rxkad_verify_packet_2()
	afs: Use the operation issue time instead of the reply time for callbacks
	sch_sfb: Don't assume the skb is still around after enqueueing to child
	tipc: fix shift wrapping bug in map_get()
	ice: use bitmap_free instead of devm_kfree
	i40e: Fix kernel crash during module removal
	xen-netback: only remove 'hotplug-status' when the vif is actually destroyed
	RDMA/siw: Pass a pointer to virt_to_page()
	ipv6: sr: fix out-of-bounds read when setting HMAC data.
	IB/core: Fix a nested dead lock as part of ODP flow
	RDMA/mlx5: Set local port to one when accessing counters
	nvme-tcp: fix UAF when detecting digest errors
	nvme-tcp: fix regression that causes sporadic requests to time out
	tcp: fix early ETIMEDOUT after spurious non-SACK RTO
	sch_sfb: Also store skb len before calling child enqueue
	ASoC: mchp-spdiftx: remove references to mchp_i2s_caps
	ASoC: mchp-spdiftx: Fix clang -Wbitfield-constant-conversion
	MIPS: loongson32: ls1c: Fix hang during startup
	swiotlb: avoid potential left shift overflow
	iommu/amd: use full 64-bit value in build_completion_wait()
	hwmon: (mr75203) fix VM sensor allocation when "intel,vm-map" not defined
	hwmon: (mr75203) update pvt->v_num and vm_num to the actual number of used sensors
	hwmon: (mr75203) fix voltage equation for negative source input
	hwmon: (mr75203) fix multi-channel voltage reading
	hwmon: (mr75203) enable polling for all VM channels
	arm64: errata: add detection for AMEVCNTR01 incrementing incorrectly
	Linux 5.10.143

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: Ia1bc1b76bcad0e2cb3b27d1a37278b1d24c6b90d
2022-09-22 14:38:08 +02:00
Ionela Voinescu 71d3adbb28 arm64: errata: add detection for AMEVCNTR01 incrementing incorrectly
commit e89d120c4b upstream.

The AMU counter AMEVCNTR01 (constant counter) should increment at the same
rate as the system counter. On affected Cortex-A510 cores, AMEVCNTR01
increments incorrectly giving a significantly higher output value. This
results in inaccurate task scheduler utilization tracking and incorrect
feedback on CPU frequency.

Work around this problem by returning 0 when reading the affected counter
in key locations that results in disabling all users of this counter from
using it either for frequency invariance or as FFH reference counter. This
effect is the same to firmware disabling affected counters.

Details on how the two features are affected by this erratum:

 - AMU counters will not be used for frequency invariance for affected
   CPUs and CPUs in the same cpufreq policy. AMUs can still be used for
   frequency invariance for unaffected CPUs in the system. Although
   unlikely, if no alternative method can be found to support frequency
   invariance for affected CPUs (cpufreq based or solution based on
   platform counters) frequency invariance will be disabled. Please check
   the chapter on frequency invariance at
   Documentation/scheduler/sched-capacity.rst for details of its effect.

 - Given that FFH can be used to fetch either the core or constant counter
   values, restrictions are lifted regarding any of these counters
   returning a valid (!0) value. Therefore FFH is considered supported
   if there is a least one CPU that support AMUs, independent of any
   counters being disabled or affected by this erratum. Clarifying
   comments are now added to the cpc_ffh_supported(), cpu_read_constcnt()
   and cpu_read_corecnt() functions.

The above is achieved through adding a new erratum: ARM64_ERRATUM_2457168.

Signed-off-by: Ionela Voinescu <ionela.voinescu@arm.com>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will@kernel.org>
Cc: James Morse <james.morse@arm.com>
Link: https://lore.kernel.org/r/20220819103050.24211-1-ionela.voinescu@arm.com
Signed-off-by: Will Deacon <will@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-09-15 11:32:06 +02:00
Greg Kroah-Hartman 43ca8e1dfb Merge 5.10.118 into android12-5.10-lts
Changes in 5.10.118
	usb: gadget: fix race when gadget driver register via ioctl
	io_uring: always grab file table for deferred statx
	floppy: use a statically allocated error counter
	Revert "drm/i915/opregion: check port number bounds for SWSCI display power state"
	igc: Remove _I_PHY_ID checking
	igc: Remove phy->type checking
	igc: Update I226_K device ID
	rtc: fix use-after-free on device removal
	rtc: pcf2127: fix bug when reading alarm registers
	um: Cleanup syscall_handler_t definition/cast, fix warning
	Input: add bounds checking to input_set_capability()
	Input: stmfts - fix reference leak in stmfts_input_open
	nvme-pci: add quirks for Samsung X5 SSDs
	gfs2: Disable page faults during lockless buffered reads
	rtc: sun6i: Fix time overflow handling
	crypto: stm32 - fix reference leak in stm32_crc_remove
	crypto: x86/chacha20 - Avoid spurious jumps to other functions
	ALSA: hda/realtek: Enable headset mic on Lenovo P360
	s390/pci: improve zpci_dev reference counting
	vhost_vdpa: don't setup irq offloading when irq_num < 0
	tools/virtio: compile with -pthread
	nvme-multipath: fix hang when disk goes live over reconnect
	rtc: mc146818-lib: Fix the AltCentury for AMD platforms
	fs: fix an infinite loop in iomap_fiemap
	MIPS: lantiq: check the return value of kzalloc()
	drbd: remove usage of list iterator variable after loop
	platform/chrome: cros_ec_debugfs: detach log reader wq from devm
	ARM: 9191/1: arm/stacktrace, kasan: Silence KASAN warnings in unwind_frame()
	nilfs2: fix lockdep warnings in page operations for btree nodes
	nilfs2: fix lockdep warnings during disk space reclamation
	Revert "swiotlb: fix info leak with DMA_FROM_DEVICE"
	Reinstate some of "swiotlb: rework "fix info leak with DMA_FROM_DEVICE""
	ALSA: usb-audio: Restore Rane SL-1 quirk
	ALSA: wavefront: Proper check of get_user() error
	ALSA: hda/realtek: Add quirk for TongFang devices with pop noise
	perf: Fix sys_perf_event_open() race against self
	selinux: fix bad cleanup on error in hashtab_duplicate()
	Fix double fget() in vhost_net_set_backend()
	PCI/PM: Avoid putting Elo i2 PCIe Ports in D3cold
	KVM: x86/mmu: Update number of zapped pages even if page list is stable
	arm64: paravirt: Use RCU read locks to guard stolen_time
	arm64: mte: Ensure the cleared tags are visible before setting the PTE
	crypto: qcom-rng - fix infinite loop on requests not multiple of WORD_SZ
	libceph: fix potential use-after-free on linger ping and resends
	drm/dp/mst: fix a possible memory leak in fetch_monitor_name()
	dma-buf: fix use of DMA_BUF_SET_NAME_{A,B} in userspace
	ARM: dts: aspeed-g6: remove FWQSPID group in pinctrl dtsi
	pinctrl: pinctrl-aspeed-g6: remove FWQSPID group in pinctrl
	ARM: dts: aspeed-g6: fix SPI1/SPI2 quad pin group
	net: ipa: record proper RX transaction count
	net: macb: Increment rx bd head after allocating skb and buffer
	net: evaluate net.ipvX.conf.all.disable_policy and disable_xfrm
	xfrm: Add possibility to set the default to block if we have no policy
	net: xfrm: fix shift-out-of-bounce
	xfrm: make user policy API complete
	xfrm: notify default policy on update
	xfrm: fix dflt policy check when there is no policy configured
	xfrm: rework default policy structure
	xfrm: fix "disable_policy" flag use when arriving from different devices
	net/sched: act_pedit: sanitize shift argument before usage
	net: systemport: Fix an error handling path in bcm_sysport_probe()
	net: vmxnet3: fix possible use-after-free bugs in vmxnet3_rq_alloc_rx_buf()
	net: vmxnet3: fix possible NULL pointer dereference in vmxnet3_rq_cleanup()
	ice: fix possible under reporting of ethtool Tx and Rx statistics
	clk: at91: generated: consider range when calculating best rate
	net/qla3xxx: Fix a test in ql_reset_work()
	NFC: nci: fix sleep in atomic context bugs caused by nci_skb_alloc
	net/mlx5e: Properly block LRO when XDP is enabled
	net: af_key: add check for pfkey_broadcast in function pfkey_process
	ARM: 9196/1: spectre-bhb: enable for Cortex-A15
	ARM: 9197/1: spectre-bhb: fix loop8 sequence for Thumb2
	igb: skip phy status check where unavailable
	net: bridge: Clear offload_fwd_mark when passing frame up bridge interface.
	riscv: dts: sifive: fu540-c000: align dma node name with dtschema
	gpio: gpio-vf610: do not touch other bits when set the target bit
	gpio: mvebu/pwm: Refuse requests with inverted polarity
	perf bench numa: Address compiler error on s390
	scsi: qla2xxx: Fix missed DMA unmap for aborted commands
	mac80211: fix rx reordering with non explicit / psmp ack policy
	nl80211: validate S1G channel width
	selftests: add ping test with ping_group_range tuned
	nl80211: fix locking in nl80211_set_tx_bitrate_mask()
	ethernet: tulip: fix missing pci_disable_device() on error in tulip_init_one()
	net: stmmac: fix missing pci_disable_device() on error in stmmac_pci_probe()
	net: atlantic: fix "frag[0] not initialized"
	net: atlantic: reduce scope of is_rsc_complete
	net: atlantic: add check for MAX_SKB_FRAGS
	net: atlantic: verify hw_head_ lies within TX buffer ring
	arm64: Enable repeat tlbi workaround on KRYO4XX gold CPUs
	Input: ili210x - fix reset timing
	dt-bindings: pinctrl: aspeed-g6: remove FWQSPID group
	module: treat exit sections the same as init sections when !CONFIG_MODULE_UNLOAD
	i2c: mt7621: fix missing clk_disable_unprepare() on error in mtk_i2c_probe()
	afs: Fix afs_getattr() to refetch file status if callback break occurred
	include/uapi/linux/xfrm.h: Fix XFRM_MSG_MAPPING ABI breakage
	module: check for exit sections in layout_sections() instead of module_init_section()
	Linux 5.10.118

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I7093fab7ea7d43c42962f2d7fe799df255049a17
2022-06-06 16:37:12 +02:00
Shreyas K K a698bf1f72 arm64: Enable repeat tlbi workaround on KRYO4XX gold CPUs
[ Upstream commit 51f559d665 ]

Add KRYO4XX gold/big cores to the list of CPUs that need the
repeat TLBI workaround. Apply this to the affected
KRYO4XX cores (rcpe to rfpe).

The variant and revision bits are implementation defined and are
different from the their Cortex CPU counterparts on which they are
based on, i.e., (r0p0 to r3p0) is equivalent to (rcpe to rfpe).

Signed-off-by: Shreyas K K <quic_shrekk@quicinc.com>
Reviewed-by: Sai Prakash Ranjan <quic_saipraka@quicinc.com>
Link: https://lore.kernel.org/r/20220512110134.12179-1-quic_shrekk@quicinc.com
Signed-off-by: Will Deacon <will@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-05-25 09:18:01 +02:00
Greg Kroah-Hartman 9e96a3d6ae Merge 56cf5326bd ("arm64: entry: Add macro for reading symbol addresses from the trampoline") into android12-5.10-lts
Steps on the way to 5.10.105

Fixes up merge issues with:
	arch/arm64/include/asm/cpu.h
	arch/arm64/kernel/cpufeature.c

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I4285e73db81b6760e046747779f6aa0b022f7cc8
2022-03-16 15:01:36 +01:00
Greg Kroah-Hartman 5c5685cc64 Merge 7ae8127e41 ("arm64: Add HWCAP for self-synchronising virtual counter") into android12-5.10-lts
Steps on the way to 5.10.105

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I18383150d74873b8be9c65f9af4a011a741125b3
2022-03-15 14:13:45 +01:00
Marc Zyngier 7ae8127e41 arm64: Add HWCAP for self-synchronising virtual counter
commit fee29f008a upstream.

Since userspace can make use of the CNTVSS_EL0 instruction, expose
it via a HWCAP.

Suggested-by: Will Deacon <will@kernel.org>
Acked-by: Will Deacon <will@kernel.org>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20211017124225.3018098-18-maz@kernel.org
Signed-off-by: Will Deacon <will@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-03-11 12:11:51 +01:00
Joey Gouly 97d8bdf331 arm64: cpufeature: add HWCAP for FEAT_RPRES
commit 1175011a7d upstream.

Add a new HWCAP to detect the Increased precision of Reciprocal Estimate
and Reciprocal Square Root Estimate feature (FEAT_RPRES), introduced in Armv8.7.

Also expose this to userspace in the ID_AA64ISAR2_EL1 feature register.

Signed-off-by: Joey Gouly <joey.gouly@arm.com>
Cc: Will Deacon <will@kernel.org>
Cc: Jonathan Corbet <corbet@lwn.net>
Acked-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20211210165432.8106-4-joey.gouly@arm.com
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-03-11 12:11:51 +01:00
Joey Gouly 162aa002ec arm64: cpufeature: add HWCAP for FEAT_AFP
commit 5c13f042e7 upstream.

Add a new HWCAP to detect the Alternate Floating-point Behaviour
feature (FEAT_AFP), introduced in Armv8.7.

Also expose this to userspace in the ID_AA64MMFR1_EL1 feature register.

Signed-off-by: Joey Gouly <joey.gouly@arm.com>
Cc: Will Deacon <will@kernel.org>
Acked-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20211210165432.8106-2-joey.gouly@arm.com
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-03-11 12:11:51 +01:00
James Morse 2aba795b31 FROMLIST: arm64: cpufeature: List early Cortex-A510 parts as having broken dbm
Versions of Cortex-A510 before r0p3 are affected by a hardware erratum
where the hardware update of the dirty bit is not correctly ordered.

Add these cpus to the cpu_has_broken_dbm list.

Cc: stable@vger.kernel.org
Signed-off-by: James Morse <james.morse@arm.com>

Bug: 208481398
Link: https://lore.kernel.org/all/20220125154040.549272-3-james.morse@arm.com/
Change-Id: I6ad53c88c034f49f43e61aa2ff3547990583c654
Signed-off-by: Elliot Berman <quic_eberman@quicinc.com>
2022-01-27 17:50:33 +00:00
Suzuki K Poulose a512242e66 BACKPORT: arm64: errata: Add workaround for TSB flush failures
Arm Neoverse-N2 (#2067961) and Cortex-A710 (#2054223) suffers
from errata, where a TSB (trace synchronization barrier)
fails to flush the trace data completely, when executed from
a trace prohibited region. In Linux we always execute it
after we have moved the PE to trace prohibited region. So,
we can apply the workaround every time a TSB is executed.

The work around is to issue two TSB consecutively.

NOTE: This errata is defined as LOCAL_CPU_ERRATUM, implying
that a late CPU could be blocked from booting if it is the
first CPU that requires the workaround. This is because we
do not allow setting a cpu_hwcaps after the SMP boot. The
other alternative is to use "this_cpu_has_cap()" instead
of the faster system wide check, which may be a bit of an
overhead, given we may have to do this in nvhe KVM host
before a guest entry.

Bug: 213931796
Cc: Will Deacon <will@kernel.org>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Mathieu Poirier <mathieu.poirier@linaro.org>
Cc: Mike Leach <mike.leach@linaro.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Anshuman Khandual <anshuman.khandual@arm.com>
Cc: Marc Zyngier <maz@kernel.org>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Reviewed-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Reviewed-by: Anshuman Khandual <anshuman.khandual@arm.com>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Link: https://lore.kernel.org/r/20211019163153.3692640-4-suzuki.poulose@arm.com
Signed-off-by: Will Deacon <will@kernel.org>
(cherry picked from commit fa82d0b4b8)
[Fix conflict due to another workaround that is not backported
(TRBE_OVERWRITE). Also manually update cpucaps.h which is autogenerated
in upstream from arch/arm64/tools/cpucaps which we ignored as part of
the conflict resolution]
Signed-off-by: Qais Yousef <qais.yousef@arm.com>
Change-Id: I6b40eaa0ac14552c867860133a04619cb556bc31
2022-01-24 20:34:21 +00:00
Greg Kroah-Hartman e4cac2c332 Merge 5.10.54 into android12-5.10-lts
Changes in 5.10.54
	igc: Fix use-after-free error during reset
	igb: Fix use-after-free error during reset
	igc: change default return of igc_read_phy_reg()
	ixgbe: Fix an error handling path in 'ixgbe_probe()'
	igc: Fix an error handling path in 'igc_probe()'
	igb: Fix an error handling path in 'igb_probe()'
	fm10k: Fix an error handling path in 'fm10k_probe()'
	e1000e: Fix an error handling path in 'e1000_probe()'
	iavf: Fix an error handling path in 'iavf_probe()'
	igb: Check if num of q_vectors is smaller than max before array access
	igb: Fix position of assignment to *ring
	gve: Fix an error handling path in 'gve_probe()'
	net: add kcov handle to skb extensions
	bonding: fix suspicious RCU usage in bond_ipsec_add_sa()
	bonding: fix null dereference in bond_ipsec_add_sa()
	ixgbevf: use xso.real_dev instead of xso.dev in callback functions of struct xfrmdev_ops
	bonding: fix suspicious RCU usage in bond_ipsec_del_sa()
	bonding: disallow setting nested bonding + ipsec offload
	bonding: Add struct bond_ipesc to manage SA
	bonding: fix suspicious RCU usage in bond_ipsec_offload_ok()
	bonding: fix incorrect return value of bond_ipsec_offload_ok()
	ipv6: fix 'disable_policy' for fwd packets
	stmmac: platform: Fix signedness bug in stmmac_probe_config_dt()
	selftests: icmp_redirect: remove from checking for IPv6 route get
	selftests: icmp_redirect: IPv6 PMTU info should be cleared after redirect
	pwm: sprd: Ensure configuring period and duty_cycle isn't wrongly skipped
	cxgb4: fix IRQ free race during driver unload
	mptcp: fix warning in __skb_flow_dissect() when do syn cookie for subflow join
	nvme-pci: do not call nvme_dev_remove_admin from nvme_remove
	KVM: x86/pmu: Clear anythread deprecated bit when 0xa leaf is unsupported on the SVM
	perf inject: Fix dso->nsinfo refcounting
	perf map: Fix dso->nsinfo refcounting
	perf probe: Fix dso->nsinfo refcounting
	perf env: Fix sibling_dies memory leak
	perf test session_topology: Delete session->evlist
	perf test event_update: Fix memory leak of evlist
	perf dso: Fix memory leak in dso__new_map()
	perf test maps__merge_in: Fix memory leak of maps
	perf env: Fix memory leak of cpu_pmu_caps
	perf report: Free generated help strings for sort option
	perf script: Fix memory 'threads' and 'cpus' leaks on exit
	perf lzma: Close lzma stream on exit
	perf probe-file: Delete namelist in del_events() on the error path
	perf data: Close all files in close_dir()
	perf sched: Fix record failure when CONFIG_SCHEDSTATS is not set
	ASoC: wm_adsp: Correct wm_coeff_tlv_get handling
	spi: imx: add a check for speed_hz before calculating the clock
	spi: stm32: fixes pm_runtime calls in probe/remove
	regulator: hi6421: Use correct variable type for regmap api val argument
	regulator: hi6421: Fix getting wrong drvdata
	spi: mediatek: fix fifo rx mode
	ASoC: rt5631: Fix regcache sync errors on resume
	bpf, test: fix NULL pointer dereference on invalid expected_attach_type
	bpf: Fix tail_call_reachable rejection for interpreter when jit failed
	xdp, net: Fix use-after-free in bpf_xdp_link_release
	timers: Fix get_next_timer_interrupt() with no timers pending
	liquidio: Fix unintentional sign extension issue on left shift of u16
	s390/bpf: Perform r1 range checking before accessing jit->seen_reg[r1]
	bpf, sockmap: Fix potential memory leak on unlikely error case
	bpf, sockmap, tcp: sk_prot needs inuse_idx set for proc stats
	bpf, sockmap, udp: sk_prot needs inuse_idx set for proc stats
	bpftool: Check malloc return value in mount_bpffs_for_pin
	net: fix uninit-value in caif_seqpkt_sendmsg
	usb: hso: fix error handling code of hso_create_net_device
	dma-mapping: handle vmalloc addresses in dma_common_{mmap,get_sgtable}
	efi/tpm: Differentiate missing and invalid final event log table.
	net: decnet: Fix sleeping inside in af_decnet
	KVM: PPC: Book3S: Fix CONFIG_TRANSACTIONAL_MEM=n crash
	KVM: PPC: Fix kvm_arch_vcpu_ioctl vcpu_load leak
	net: sched: fix memory leak in tcindex_partial_destroy_work
	sctp: trim optlen when it's a huge value in sctp_setsockopt
	netrom: Decrease sock refcount when sock timers expire
	scsi: iscsi: Fix iface sysfs attr detection
	scsi: target: Fix protect handling in WRITE SAME(32)
	spi: cadence: Correct initialisation of runtime PM again
	ACPI: Kconfig: Fix table override from built-in initrd
	bnxt_en: don't disable an already disabled PCI device
	bnxt_en: Refresh RoCE capabilities in bnxt_ulp_probe()
	bnxt_en: Add missing check for BNXT_STATE_ABORT_ERR in bnxt_fw_rset_task()
	bnxt_en: Validate vlan protocol ID on RX packets
	bnxt_en: Check abort error state in bnxt_half_open_nic()
	net: hisilicon: rename CACHE_LINE_MASK to avoid redefinition
	net/tcp_fastopen: fix data races around tfo_active_disable_stamp
	ALSA: hda: intel-dsp-cfg: add missing ElkhartLake PCI ID
	net: hns3: fix possible mismatches resp of mailbox
	net: hns3: fix rx VLAN offload state inconsistent issue
	spi: spi-bcm2835: Fix deadlock
	net/sched: act_skbmod: Skip non-Ethernet packets
	ipv6: fix another slab-out-of-bounds in fib6_nh_flush_exceptions
	ceph: don't WARN if we're still opening a session to an MDS
	nvme-pci: don't WARN_ON in nvme_reset_work if ctrl.state is not RESETTING
	Revert "USB: quirks: ignore remote wake-up on Fibocom L850-GL LTE modem"
	afs: Fix tracepoint string placement with built-in AFS
	r8169: Avoid duplicate sysfs entry creation error
	nvme: set the PRACT bit when using Write Zeroes with T10 PI
	sctp: update active_key for asoc when old key is being replaced
	tcp: disable TFO blackhole logic by default
	net: dsa: sja1105: make VID 4095 a bridge VLAN too
	net: sched: cls_api: Fix the the wrong parameter
	drm/panel: raspberrypi-touchscreen: Prevent double-free
	cifs: only write 64kb at a time when fallocating a small region of a file
	cifs: fix fallocate when trying to allocate a hole.
	proc: Avoid mixing integer types in mem_rw()
	mmc: core: Don't allocate IDA for OF aliases
	s390/ftrace: fix ftrace_update_ftrace_func implementation
	s390/boot: fix use of expolines in the DMA code
	ALSA: usb-audio: Add missing proc text entry for BESPOKEN type
	ALSA: usb-audio: Add registration quirk for JBL Quantum headsets
	ALSA: sb: Fix potential ABBA deadlock in CSP driver
	ALSA: hda/realtek: Fix pop noise and 2 Front Mic issues on a machine
	ALSA: hdmi: Expose all pins on MSI MS-7C94 board
	ALSA: pcm: Call substream ack() method upon compat mmap commit
	ALSA: pcm: Fix mmap capability check
	Revert "usb: renesas-xhci: Fix handling of unknown ROM state"
	usb: xhci: avoid renesas_usb_fw.mem when it's unusable
	xhci: Fix lost USB 2 remote wake
	KVM: PPC: Book3S: Fix H_RTAS rets buffer overflow
	KVM: PPC: Book3S HV Nested: Sanitise H_ENTER_NESTED TM state
	usb: hub: Disable USB 3 device initiated lpm if exit latency is too high
	usb: hub: Fix link power management max exit latency (MEL) calculations
	USB: usb-storage: Add LaCie Rugged USB3-FW to IGNORE_UAS
	usb: max-3421: Prevent corruption of freed memory
	usb: renesas_usbhs: Fix superfluous irqs happen after usb_pkt_pop()
	USB: serial: option: add support for u-blox LARA-R6 family
	USB: serial: cp210x: fix comments for GE CS1000
	USB: serial: cp210x: add ID for CEL EM3588 USB ZigBee stick
	usb: gadget: Fix Unbalanced pm_runtime_enable in tegra_xudc_probe
	usb: dwc2: gadget: Fix GOUTNAK flow for Slave mode.
	usb: dwc2: gadget: Fix sending zero length packet in DDMA mode.
	usb: typec: stusb160x: register role switch before interrupt registration
	firmware/efi: Tell memblock about EFI iomem reservations
	tracepoints: Update static_call before tp_funcs when adding a tracepoint
	tracing/histogram: Rename "cpu" to "common_cpu"
	tracing: Fix bug in rb_per_cpu_empty() that might cause deadloop.
	tracing: Synthetic event field_pos is an index not a boolean
	btrfs: check for missing device in btrfs_trim_fs
	media: ngene: Fix out-of-bounds bug in ngene_command_config_free_buf()
	ixgbe: Fix packet corruption due to missing DMA sync
	bus: mhi: core: Validate channel ID when processing command completions
	posix-cpu-timers: Fix rearm racing against process tick
	selftest: use mmap instead of posix_memalign to allocate memory
	io_uring: explicitly count entries for poll reqs
	io_uring: remove double poll entry on arm failure
	userfaultfd: do not untag user pointers
	memblock: make for_each_mem_range() traverse MEMBLOCK_HOTPLUG regions
	hugetlbfs: fix mount mode command line processing
	rbd: don't hold lock_rwsem while running_list is being drained
	rbd: always kick acquire on "acquired" and "released" notifications
	misc: eeprom: at24: Always append device id even if label property is set.
	nds32: fix up stack guard gap
	driver core: Prevent warning when removing a device link from unregistered consumer
	drm: Return -ENOTTY for non-drm ioctls
	drm/amdgpu: update golden setting for sienna_cichlid
	net: dsa: mv88e6xxx: enable SerDes RX stats for Topaz
	net: dsa: mv88e6xxx: enable SerDes PCS register dump via ethtool -d on Topaz
	PCI: Mark AMD Navi14 GPU ATS as broken
	bonding: fix build issue
	skbuff: Release nfct refcount on napi stolen or re-used skbs
	Documentation: Fix intiramfs script name
	perf inject: Close inject.output on exit
	usb: ehci: Prevent missed ehci interrupts with edge-triggered MSI
	drm/i915/gvt: Clear d3_entered on elsp cmd submission.
	sfc: ensure correct number of XDP queues
	xhci: add xhci_get_virt_ep() helper
	skbuff: Fix build with SKB extensions disabled
	Linux 5.10.54

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: Ifd2823b47ab1544cd1f168b138624ffe060a471e
2021-07-28 15:23:47 +02:00
Peter Collingbourne 0b591c020d userfaultfd: do not untag user pointers
commit e71e2ace57 upstream.

Patch series "userfaultfd: do not untag user pointers", v5.

If a user program uses userfaultfd on ranges of heap memory, it may end
up passing a tagged pointer to the kernel in the range.start field of
the UFFDIO_REGISTER ioctl.  This can happen when using an MTE-capable
allocator, or on Android if using the Tagged Pointers feature for MTE
readiness [1].

When a fault subsequently occurs, the tag is stripped from the fault
address returned to the application in the fault.address field of struct
uffd_msg.  However, from the application's perspective, the tagged
address *is* the memory address, so if the application is unaware of
memory tags, it may get confused by receiving an address that is, from
its point of view, outside of the bounds of the allocation.  We observed
this behavior in the kselftest for userfaultfd [2] but other
applications could have the same problem.

Address this by not untagging pointers passed to the userfaultfd ioctls.
Instead, let the system call fail.  Also change the kselftest to use
mmap so that it doesn't encounter this problem.

[1] https://source.android.com/devices/tech/debug/tagged-pointers
[2] tools/testing/selftests/vm/userfaultfd.c

This patch (of 2):

Do not untag pointers passed to the userfaultfd ioctls.  Instead, let
the system call fail.  This will provide an early indication of problems
with tag-unaware userspace code instead of letting the code get confused
later, and is consistent with how we decided to handle brk/mmap/mremap
in commit dcde237319 ("mm: Avoid creating virtual address aliases in
brk()/mmap()/mremap()"), as well as being consistent with the existing
tagged address ABI documentation relating to how ioctl arguments are
handled.

The code change is a revert of commit 7d0325749a ("userfaultfd: untag
user pointers") plus some fixups to some additional calls to
validate_range that have appeared since then.

[1] https://source.android.com/devices/tech/debug/tagged-pointers
[2] tools/testing/selftests/vm/userfaultfd.c

Link: https://lkml.kernel.org/r/20210714195437.118982-1-pcc@google.com
Link: https://lkml.kernel.org/r/20210714195437.118982-2-pcc@google.com
Link: https://linux-review.googlesource.com/id/I761aa9f0344454c482b83fcfcce547db0a25501b
Fixes: 63f0c60379 ("arm64: Introduce prctl() options to control the tagged user addresses ABI")
Signed-off-by: Peter Collingbourne <pcc@google.com>
Reviewed-by: Andrey Konovalov <andreyknvl@gmail.com>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Cc: Alistair Delva <adelva@google.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Dave Martin <Dave.Martin@arm.com>
Cc: Evgenii Stepanov <eugenis@google.com>
Cc: Lokesh Gidra <lokeshgidra@google.com>
Cc: Mitch Phillips <mitchp@google.com>
Cc: Vincenzo Frascino <vincenzo.frascino@arm.com>
Cc: Will Deacon <will@kernel.org>
Cc: William McVicker <willmcvicker@google.com>
Cc: <stable@vger.kernel.org>	[5.4]
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-07-28 14:35:46 +02:00
Peter Collingbourne 3972be647a FROMLIST: Documentation: document the preferred tag checking mode feature
Document the functionality added in the previous patches.

Link: https://linux-review.googlesource.com/id/I48217cc3e8b8da33abc08cbaddc11cf4360a1b86
Signed-off-by: Peter Collingbourne <pcc@google.com>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Link: https://lore.kernel.org/linux-arm-kernel/20210713234801.3858018-6-pcc@google.com/
Bug: 189966263
Change-Id: I48217cc3e8b8da33abc08cbaddc11cf4360a1b86
2021-07-14 20:52:05 -07:00
Peter Collingbourne 50829b8901 BACKPORT: arm64: Introduce prctl(PR_PAC_{SET,GET}_ENABLED_KEYS)
This change introduces a prctl that allows the user program to control
which PAC keys are enabled in a particular task. The main reason
why this is useful is to enable a userspace ABI that uses PAC to
sign and authenticate function pointers and other pointers exposed
outside of the function, while still allowing binaries conforming
to the ABI to interoperate with legacy binaries that do not sign or
authenticate pointers.

The idea is that a dynamic loader or early startup code would issue
this prctl very early after establishing that a process may load legacy
binaries, but before executing any PAC instructions.

This change adds a small amount of overhead to kernel entry and exit
due to additional required instruction sequences.

On a DragonBoard 845c (Cortex-A75) with the powersave governor, the
overhead of similar instruction sequences was measured as 4.9ns when
simulating the common case where IA is left enabled, or 43.7ns when
simulating the uncommon case where IA is disabled. These numbers can
be seen as the worst case scenario, since in more realistic scenarios
a better performing governor would be used and a newer chip would be
used that would support PAC unlike Cortex-A75 and would be expected
to be faster than Cortex-A75.

On an Apple M1 under a hypervisor, the overhead of the entry/exit
instruction sequences introduced by this patch was measured as 0.3ns
in the case where IA is left enabled, and 33.0ns in the case where
IA is disabled.

Signed-off-by: Peter Collingbourne <pcc@google.com>
Reviewed-by: Dave Martin <Dave.Martin@arm.com>
Link: https://linux-review.googlesource.com/id/Ibc41a5e6a76b275efbaa126b31119dc197b927a5
Link: https://lore.kernel.org/r/d6609065f8f40397a4124654eb68c9f490b4d477.1616123271.git.pcc@google.com
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>

Bug: 192536783
(cherry picked from commit 201698626f)
Change-Id: Ic0a21c92a22575f9ec3599fb67bd2931a50b9f04
[quic_eberman@quicinc.com: Resolved merge conflict in
 arch/arm64/kernel/process.c]
Signed-off-by: Elliot Berman <quic_eberman@quicinc.com>
Signed-off-by: Peter Collingbourne <pcc@google.com>
2021-07-14 20:52:05 -07:00
Will Deacon 1be38826f6 UPSTREAM: arm64: spectre: Rename ARM64_HARDEN_EL2_VECTORS to ARM64_SPECTRE_V3A
Since ARM64_HARDEN_EL2_VECTORS is really a mitigation for Spectre-v3a,
rename it accordingly for consistency with the v2 and v4 mitigation.

Signed-off-by: Will Deacon <will@kernel.org>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Cc: Marc Zyngier <maz@kernel.org>
Cc: Quentin Perret <qperret@google.com>
Link: https://lore.kernel.org/r/20201113113847.21619-9-will@kernel.org
(cherry picked from commit c4792b6dbc)
Signed-off-by: Will Deacon <willdeacon@google.com>
Change-Id: I6c026fa775b858cca5360aeabb25aeab209f72f7
Bug: 178098380
Test: atest VirtualizationHostTestCases on an EL2-enabled device
2021-01-28 17:57:08 +00:00
Peter Collingbourne 1ad9551f1d BACKPORT: arm64: expose FAR_EL1 tag bits in siginfo
The kernel currently clears the tag bits (i.e. bits 56-63) in the fault
address exposed via siginfo.si_addr and sigcontext.fault_address. However,
the tag bits may be needed by tools in order to accurately diagnose
memory errors, such as HWASan [1] or future tools based on the Memory
Tagging Extension (MTE).

Expose these bits via the arch_untagged_si_addr mechanism, so that
they are only exposed to signal handlers with the SA_EXPOSE_TAGBITS
flag set.

[1] http://clang.llvm.org/docs/HardwareAssistedAddressSanitizerDesign.html

Signed-off-by: Peter Collingbourne <pcc@google.com>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Link: https://linux-review.googlesource.com/id/Ia8876bad8c798e0a32df7c2ce1256c4771c81446
Link: https://lore.kernel.org/r/0010296597784267472fa13b39f8238d87a72cf8.1605904350.git.pcc@google.com
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
(cherry picked from commit dceec3ff78)
[pcc: resolved minor conflicts in arch/arm64/include/asm/exception.h and arch/arm64/mm/fault.c]
Bug: 135772972
Change-Id: Ia8876bad8c798e0a32df7c2ce1256c4771c81446
2021-01-22 10:09:05 -08:00
Rob Herring 96d389ca10 arm64: Add workaround for Arm Cortex-A77 erratum 1508412
On Cortex-A77 r0p0 and r1p0, a sequence of a non-cacheable or device load
and a store exclusive or PAR_EL1 read can cause a deadlock.

The workaround requires a DMB SY before and after a PAR_EL1 register
read. In addition, it's possible an interrupt (doing a device read) or
KVM guest exit could be taken between the DMB and PAR read, so we
also need a DMB before returning from interrupt and before returning to
a guest.

A deadlock is still possible with the workaround as KVM guests must also
have the workaround. IOW, a malicious guest can deadlock an affected
systems.

This workaround also depends on a firmware counterpart to enable the h/w
to insert DMB SY after load and store exclusive instructions. See the
errata document SDEN-1152370 v10 [1] for more information.

[1] https://static.docs.arm.com/101992/0010/Arm_Cortex_A77_MP074_Software_Developer_Errata_Notice_v10.pdf

Signed-off-by: Rob Herring <robh@kernel.org>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Acked-by: Marc Zyngier <maz@kernel.org>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: James Morse <james.morse@arm.com>
Cc: Suzuki K Poulose <suzuki.poulose@arm.com>
Cc: Will Deacon <will@kernel.org>
Cc: Julien Thierry <julien.thierry.kdev@gmail.com>
Cc: kvmarm@lists.cs.columbia.edu
Link: https://lore.kernel.org/r/20201028182839.166037-2-robh@kernel.org
Signed-off-by: Will Deacon <will@kernel.org>
2020-10-29 12:56:01 +00:00
Catalin Marinas ef5dd6a0c8 arm64: mte: Document that user PSTATE.TCO is ignored by kernel uaccess
On exception entry, the kernel explicitly resets the PSTATE.TCO (tag
check override) so that any kernel memory accesses will be checked (the
bit is restored on exception return). This has the side-effect that the
uaccess routines will not honour the PSTATE.TCO that may have been set
by the user prior to a syscall.

There is no issue in practice since PSTATE.TCO is expected to be used
only for brief periods in specific routines (e.g. garbage collection).
To control the tag checking mode of the uaccess routines, the user will
have to invoke a corresponding prctl() call.

Document the kernel behaviour w.r.t. PSTATE.TCO accordingly.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Fixes: df9d7a22dd ("arm64: mte: Add Memory Tagging Extension documentation")
Reviewed-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
Cc: Will Deacon <will@kernel.org>
Cc: Szabolcs Nagy <szabolcs.nagy@arm.com>
Signed-off-by: Will Deacon <will@kernel.org>
2020-10-28 17:50:39 +00:00
Linus Torvalds c80e42a496 Merge tag 'docs-5.10-2' of git://git.lwn.net/linux
Pull documentation fixes from Jonathan Corbet:
 "A handful of late-arriving documentation fixes"

* tag 'docs-5.10-2' of git://git.lwn.net/linux:
  docs: Add two missing entries in vm sysctl index
  docs/vm: trivial fixes to several spelling mistakes
  docs: submitting-patches: describe preserving review/test tags
  Documentation: Chinese translation of Documentation/arm64/hugetlbpage.rst
  Documentation: x86: fix a missing word in x86_64/mm.rst.
  docs: driver-api: remove a duplicated index entry
  docs: lkdtm: Modernize and improve details
  docs: deprecated.rst: Expand str*cpy() replacement notes
  docs/cpu-load: format the example code.
2020-10-23 17:13:53 -07:00
Bailu Lin e0533dee52 Documentation: Chinese translation of Documentation/arm64/hugetlbpage.rst
This is a Chinese translated version of
 Documentation/arm64/hugetlbpage.rst

Signed-off-by: Bailu Lin <bailu.lin@vivo.com>
Reviewed-by: Alex Shi <alex.shi@linux.alibaba.com>
Link: https://lore.kernel.org/r/20201014022003.43862-1-bailu.lin@vivo.com
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
2020-10-21 15:15:17 -06:00
Linus Torvalds 50d228345a Merge tag 'docs-5.10' of git://git.lwn.net/linux
Pull documentation updates from Jonathan Corbet:
 "As hoped, things calmed down for docs this cycle; fewer changes and
  almost no conflicts at all. This includes:

   - A reworked and expanded user-mode Linux document

   - Some simplifications and improvements for submitting-patches.rst

   - An emergency fix for (some) problems with Sphinx 3.x

   - Some welcome automarkup improvements to automatically generate
     cross-references to struct definitions and other documents

   - The usual collection of translation updates, typo fixes, etc"

* tag 'docs-5.10' of git://git.lwn.net/linux: (81 commits)
  gpiolib: Update indentation in driver.rst for code excerpts
  Documentation/admin-guide: tainted-kernels: Fix typo occured
  Documentation: better locations for sysfs-pci, sysfs-tagging
  docs: programming-languages: refresh blurb on clang support
  Documentation: kvm: fix a typo
  Documentation: Chinese translation of Documentation/arm64/amu.rst
  doc: zh_CN: index files in arm64 subdirectory
  mailmap: add entry for <mstarovoitov@marvell.com>
  doc: seq_file: clarify role of *pos in ->next()
  docs: trace: ring-buffer-design.rst: use the new SPDX tag
  Documentation: kernel-parameters: clarify "module." parameters
  Fix references to nommu-mmap.rst
  docs: rewrite admin-guide/sysctl/abi.rst
  docs: fb: Remove vesafb scrollback boot option
  docs: fb: Remove sstfb scrollback boot option
  docs: fb: Remove matroxfb scrollback boot option
  docs: fb: Remove framebuffer scrollback boot option
  docs: replace the old User Mode Linux HowTo with a new one
  Documentation/admin-guide: blockdev/ramdisk: remove use of "rdev"
  Documentation/admin-guide: README & svga: remove use of "rdev"
  ...
2020-10-12 16:21:29 -07:00
Will Deacon b5756146db arm64: mte: Fix typo in memory tagging ABI documentation
We offer both PTRACE_PEEKMTETAGS and PTRACE_POKEMTETAGS requests via
ptrace().

Reported-by: Andrey Konovalov <andreyknvl@google.com>
Signed-off-by: Will Deacon <will@kernel.org>
2020-09-28 23:02:19 +01:00
Bailu Lin a0eef4a8ac Documentation: Chinese translation of Documentation/arm64/amu.rst
This is a Chinese translated version of Documentation/arm64/amu.rst

Signed-off-by: Bailu Lin <bailu.lin@vivo.com>
Reviewed-by: Alex Shi <alex.shi@linux.alibaba.com>
Link: https://lore.kernel.org/r/20200926025233.47214-1-bailu.lin@vivo.com
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
2020-09-28 15:24:24 -06:00
Bailu Lin 7a5d265b68 doc: zh_CN: index files in arm64 subdirectory
Add arm64 subdirectory into the table of Contents for zh_CN,
then add other translations in arm64 conveniently.

Signed-off-by: Bailu Lin <bailu.lin@vivo.com>
Reviewed-by: Alex Shi <alex.shi@linux.alibaba.com>
Link: https://lore.kernel.org/r/20200926022558.46232-1-bailu.lin@vivo.com
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
2020-09-28 15:22:21 -06:00
Vincenzo Frascino df9d7a22dd arm64: mte: Add Memory Tagging Extension documentation
Memory Tagging Extension (part of the ARMv8.5 Extensions) provides
a mechanism to detect the sources of memory related errors which
may be vulnerable to exploitation, including bounds violations,
use-after-free, use-after-return, use-out-of-scope and use before
initialization errors.

Add Memory Tagging Extension documentation for the arm64 linux
kernel support.

Signed-off-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
Co-developed-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Acked-by: Szabolcs Nagy <szabolcs.nagy@arm.com>
Cc: Will Deacon <will@kernel.org>
2020-09-04 12:46:07 +01:00
Linus Torvalds 952ace797c Merge tag 'iommu-updates-v5.9' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu
Pull iommu updates from Joerg Roedel:

 - Remove of the dev->archdata.iommu (or similar) pointers from most
   architectures. Only Sparc is left, but this is private to Sparc as
   their drivers don't use the IOMMU-API.

 - ARM-SMMU updates from Will Deacon:

     - Support for SMMU-500 implementation in Marvell Armada-AP806 SoC

     - Support for SMMU-500 implementation in NVIDIA Tegra194 SoC

     - DT compatible string updates

     - Remove unused IOMMU_SYS_CACHE_ONLY flag

     - Move ARM-SMMU drivers into their own subdirectory

 - Intel VT-d updates from Lu Baolu:

     - Misc tweaks and fixes for vSVA

     - Report/response page request events

     - Cleanups

 - Move the Kconfig and Makefile bits for the AMD and Intel drivers into
   their respective subdirectory.

 - MT6779 IOMMU Support

 - Support for new chipsets in the Renesas IOMMU driver

 - Other misc cleanups and fixes (e.g. to improve compile test coverage)

* tag 'iommu-updates-v5.9' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu: (77 commits)
  iommu/amd: Move Kconfig and Makefile bits down into amd directory
  iommu/vt-d: Move Kconfig and Makefile bits down into intel directory
  iommu/arm-smmu: Move Arm SMMU drivers into their own subdirectory
  iommu/vt-d: Skip TE disabling on quirky gfx dedicated iommu
  iommu: Add gfp parameter to io_pgtable_ops->map()
  iommu: Mark __iommu_map_sg() as static
  iommu/vt-d: Rename intel-pasid.h to pasid.h
  iommu/vt-d: Add page response ops support
  iommu/vt-d: Report page request faults for guest SVA
  iommu/vt-d: Add a helper to get svm and sdev for pasid
  iommu/vt-d: Refactor device_to_iommu() helper
  iommu/vt-d: Disable multiple GPASID-dev bind
  iommu/vt-d: Warn on out-of-range invalidation address
  iommu/vt-d: Fix devTLB flush for vSVA
  iommu/vt-d: Handle non-page aligned address
  iommu/vt-d: Fix PASID devTLB invalidation
  iommu/vt-d: Remove global page support in devTLB flush
  iommu/vt-d: Enforce PASID devTLB field mask
  iommu: Make some functions static
  iommu/amd: Remove double zero check
  ...
2020-08-11 14:13:24 -07:00
Linus Torvalds 2324d50d05 Merge tag 'docs-5.9' of git://git.lwn.net/linux
Pull documentation updates from Jonathan Corbet:
 "It's been a busy cycle for documentation - hopefully the busiest for a
  while to come. Changes include:

   - Some new Chinese translations

   - Progress on the battle against double words words and non-HTTPS
     URLs

   - Some block-mq documentation

   - More RST conversions from Mauro. At this point, that task is
     essentially complete, so we shouldn't see this kind of churn again
     for a while. Unless we decide to switch to asciidoc or
     something...:)

   - Lots of typo fixes, warning fixes, and more"

* tag 'docs-5.9' of git://git.lwn.net/linux: (195 commits)
  scripts/kernel-doc: optionally treat warnings as errors
  docs: ia64: correct typo
  mailmap: add entry for <alobakin@marvell.com>
  doc/zh_CN: add cpu-load Chinese version
  Documentation/admin-guide: tainted-kernels: fix spelling mistake
  MAINTAINERS: adjust kprobes.rst entry to new location
  devices.txt: document rfkill allocation
  PCI: correct flag name
  docs: filesystems: vfs: correct flag name
  docs: filesystems: vfs: correct sync_mode flag names
  docs: path-lookup: markup fixes for emphasis
  docs: path-lookup: more markup fixes
  docs: path-lookup: fix HTML entity mojibake
  CREDITS: Replace HTTP links with HTTPS ones
  docs: process: Add an example for creating a fixes tag
  doc/zh_CN: add Chinese translation prefer section
  doc/zh_CN: add clearing-warn-once Chinese version
  doc/zh_CN: add admin-guide index
  doc:it_IT: process: coding-style.rst: Correct __maybe_unused compiler label
  futex: MAINTAINERS: Re-add selftests directory
  ...
2020-08-04 22:47:54 -07:00
Joerg Roedel 56fbacc9bf Merge branches 'arm/renesas', 'arm/qcom', 'arm/mediatek', 'arm/omap', 'arm/exynos', 'arm/smmu', 'ppc/pamu', 'x86/vt-d', 'x86/amd' and 'core' into next 2020-07-29 14:42:00 +02:00
Alexander A. Klimov f6655c7561 arm64: Replace HTTP links with HTTPS ones
Rationale:
Reduces attack surface on kernel devs opening the links for MITM
as HTTPS traffic is much harder to manipulate.

Deterministic algorithm:
For each file:
  If not .svg:
    For each line:
      If doesn't contain `\bxmlns\b`:
        For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:
	  If neither `\bgnu\.org/license`, nor `\bmozilla\.org/MPL\b`:
            If both the HTTP and HTTPS versions
            return 200 OK and serve the same content:
              Replace HTTP with HTTPS.

Signed-off-by: Alexander A. Klimov <grandmaster@al2klimov.de>
Link: https://lore.kernel.org/r/20200720211231.63831-1-grandmaster@al2klimov.de
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
2020-07-23 14:04:37 -06:00
Hanna Hawa f2d9848aeb iommu/arm-smmu: Workaround for Marvell Armada-AP806 SoC erratum #582743
Due to erratum #582743, the Marvell Armada-AP806 can't access 64bit to
ARM SMMUv2 registers.

Provide implementation relevant hooks:
- split the writeq/readq to two accesses of writel/readl.
- mask the MMU_IDR2.PTFSv8 fields to not use AArch64 format (but
only AARCH32_L) since with AArch64 format 32 bits access is not supported.

Note that most 64-bit registers like TTBRn can be accessed as two 32-bit
halves without issue, and AArch32 format ensures that the register writes
which must be atomic (for TLBI etc.) need only be 32-bit.

Signed-off-by: Hanna Hawa <hannah@marvell.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
Signed-off-by: Tomasz Nowicki <tn@semihalf.com>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Link: https://lore.kernel.org/r/20200715070649.18733-3-tn@semihalf.com
Signed-off-by: Will Deacon <will@kernel.org>
2020-07-16 09:29:22 +01:00
Suzuki K Poulose 581fce3735 arm64: Documentation: Fix broken table in generated HTML
cpu-feature-registers.rst is missing a new line before a couple
of tables listing the visible fields, causing broken tables in
the HTML documentation generated by "make htmldocs". Fix this
by adding the missing new line.

Reported-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Link: https://lore.kernel.org/r/20200707143152.154541-1-suzuki.poulose@arm.com
Signed-off-by: Will Deacon <will@kernel.org>
2020-07-08 22:20:41 +01:00
Randy Dunlap 8c046cdd07 Documentation: arm64/sve: drop duplicate words
Drop the doubled word "for".

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Acked-by: Mike Rapoport <rppt@linux.ibm.com>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: linux-doc@vger.kernel.org
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will@kernel.org>
Cc: linux-arm-kernel@lists.infradead.org
Cc: Dave Martin <Dave.Martin@arm.com>
Link: https://lore.kernel.org/r/20200703205110.29873-4-rdunlap@infradead.org
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
2020-07-05 14:37:45 -06:00
Randy Dunlap 47a8b74edc Documentation: arm64/acpi_object_usage: drop duplicate words
Drop the doubled word "and".

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Acked-by: Mike Rapoport <rppt@linux.ibm.com>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: linux-doc@vger.kernel.org
Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Cc: Hanjun Guo <guohanjun@huawei.com>
Cc: Sudeep Holla <sudeep.holla@arm.com>
Cc: linux-acpi@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org
Link: https://lore.kernel.org/r/20200703205110.29873-3-rdunlap@infradead.org
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
2020-07-05 14:37:45 -06:00
Randy Dunlap 66ececcc47 Documentation: arm64/arm-acpi: drop duplicate words
Drop the doubled word "the".

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Acked-by: Mike Rapoport <rppt@linux.ibm.com>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: linux-doc@vger.kernel.org
Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Cc: Hanjun Guo <guohanjun@huawei.com>
Cc: Sudeep Holla <sudeep.holla@arm.com>
Cc: linux-acpi@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org
Link: https://lore.kernel.org/r/20200703205110.29873-2-rdunlap@infradead.org
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
2020-07-05 14:37:45 -06:00
Sai Prakash Ranjan 9b23d95c53 arm64: Add KRYO4XX silver CPU cores to erratum list 1530923 and 1024718
KRYO4XX silver/LITTLE CPU cores with revision r1p0 are affected by
erratum 1530923 and 1024718, so add them to the respective list.
The variant and revision bits are implementation defined and are
different from the their Cortex CPU counterparts on which they are
based on, i.e., r1p0 is equivalent to rdpe.

Signed-off-by: Sai Prakash Ranjan <saiprakash.ranjan@codeaurora.org>
Link: https://lore.kernel.org/r/7013e8a3f857ca7e82863cc9e34a614293d7f80c.1593539394.git.saiprakash.ranjan@codeaurora.org
Signed-off-by: Will Deacon <will@kernel.org>
2020-07-03 16:39:16 +01:00
Sai Prakash Ranjan a9e821b89d arm64: Add KRYO4XX gold CPU cores to erratum list 1463225 and 1418040
KRYO4XX gold/big CPU core revisions r0p0 to r3p1 are affected by
erratum 1463225 and 1418040, so add them to the respective list.
The variant and revision bits are implementation defined and are
different from the their Cortex CPU counterparts on which they are
based on, i.e., (r0p0 to r3p1) is equivalent to (rcpe to rfpf).

Signed-off-by: Sai Prakash Ranjan <saiprakash.ranjan@codeaurora.org>
Link: https://lore.kernel.org/r/83780e80c6377c12ca51b5d53186b61241685e49.1593539394.git.saiprakash.ranjan@codeaurora.org
Signed-off-by: Will Deacon <will@kernel.org>
2020-07-03 16:39:16 +01:00
Mauro Carvalho Chehab 86de78d2c5 docs: arm64: convert perf.txt to ReST format
This file is almost in ReST. All it needs is a rename and
adding a :field: for the two fields at the beginning
(author and date).

While here, add a proper SPDX header, and use the standard
markup for document titles, just for consistency.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Link: https://lore.kernel.org/r/c99bebf166559e9098a9eb78fb2eab2847fffb05.1592203650.git.mchehab+huawei@kernel.org
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
2020-06-19 14:09:39 -06:00
Dave Martin 9ba6a9efa4 docs/arm64: Fix typo'd #define in sve.rst
sve.rst describes a flag PR_SVE_SET_VL_INHERIT for the
PR_SVE_SET_VL prctl, but there is no flag of this name.  The flag
is shared between the _GET and _SET calls, so the _SET prefix was
dropped, giving the name PR_SVE_VL_INHERIT in the headers.

Fix it.

Signed-off-by: Dave Martin <Dave.Martin@arm.com>
Link: https://lore.kernel.org/r/1591808590-20210-2-git-send-email-Dave.Martin@arm.com
Signed-off-by: Will Deacon <will@kernel.org>
2020-06-15 13:17:43 +01:00
Linus Torvalds b23c4771ff Merge tag 'docs-5.8' of git://git.lwn.net/linux
Pull documentation updates from Jonathan Corbet:
 "A fair amount of stuff this time around, dominated by yet another
  massive set from Mauro toward the completion of the RST conversion. I
  *really* hope we are getting close to the end of this. Meanwhile,
  those patches reach pretty far afield to update document references
  around the tree; there should be no actual code changes there. There
  will be, alas, more of the usual trivial merge conflicts.

  Beyond that we have more translations, improvements to the sphinx
  scripting, a number of additions to the sysctl documentation, and lots
  of fixes"

* tag 'docs-5.8' of git://git.lwn.net/linux: (130 commits)
  Documentation: fixes to the maintainer-entry-profile template
  zswap: docs/vm: Fix typo accept_threshold_percent in zswap.rst
  tracing: Fix events.rst section numbering
  docs: acpi: fix old http link and improve document format
  docs: filesystems: add info about efivars content
  Documentation: LSM: Correct the basic LSM description
  mailmap: change email for Ricardo Ribalda
  docs: sysctl/kernel: document unaligned controls
  Documentation: admin-guide: update bug-hunting.rst
  docs: sysctl/kernel: document ngroups_max
  nvdimm: fixes to maintainter-entry-profile
  Documentation/features: Correct RISC-V kprobes support entry
  Documentation/features: Refresh the arch support status files
  Revert "docs: sysctl/kernel: document ngroups_max"
  docs: move locking-specific documents to locking/
  docs: move digsig docs to the security book
  docs: move the kref doc into the core-api book
  docs: add IRQ documentation at the core-api book
  docs: debugging-via-ohci1394.txt: add it to the core-api book
  docs: fix references for ipmi.rst file
  ...
2020-06-01 15:45:27 -07:00
Will Deacon d27865279f Merge branch 'for-next/bti' into for-next/core
Support for Branch Target Identification (BTI) in user and kernel
(Mark Brown and others)
* for-next/bti: (39 commits)
  arm64: vdso: Fix CFI directives in sigreturn trampoline
  arm64: vdso: Don't prefix sigreturn trampoline with a BTI C instruction
  arm64: bti: Fix support for userspace only BTI
  arm64: kconfig: Update and comment GCC version check for kernel BTI
  arm64: vdso: Map the vDSO text with guarded pages when built for BTI
  arm64: vdso: Force the vDSO to be linked as BTI when built for BTI
  arm64: vdso: Annotate for BTI
  arm64: asm: Provide a mechanism for generating ELF note for BTI
  arm64: bti: Provide Kconfig for kernel mode BTI
  arm64: mm: Mark executable text as guarded pages
  arm64: bpf: Annotate JITed code for BTI
  arm64: Set GP bit in kernel page tables to enable BTI for the kernel
  arm64: asm: Override SYM_FUNC_START when building the kernel with BTI
  arm64: bti: Support building kernel C code using BTI
  arm64: Document why we enable PAC support for leaf functions
  arm64: insn: Report PAC and BTI instructions as skippable
  arm64: insn: Don't assume unrecognized HINTs are skippable
  arm64: insn: Provide a better name for aarch64_insn_is_nop()
  arm64: insn: Add constants for new HINT instruction decode
  arm64: Disable old style assembly annotations
  ...
2020-05-28 18:00:51 +01:00
Will Deacon 80e4e56132 Merge branch 'for-next/bti-user' into for-next/bti
Merge in user support for Branch Target Identification, which narrowly
missed the cut for 5.7 after a late ABI concern.

* for-next/bti-user:
  arm64: bti: Document behaviour for dynamically linked binaries
  arm64: elf: Fix allnoconfig kernel build with !ARCH_USE_GNU_PROPERTY
  arm64: BTI: Add Kconfig entry for userspace BTI
  mm: smaps: Report arm64 guarded pages in smaps
  arm64: mm: Display guarded pages in ptdump
  KVM: arm64: BTI: Reset BTYPE when skipping emulated instructions
  arm64: BTI: Reset BTYPE when skipping emulated instructions
  arm64: traps: Shuffle code to eliminate forward declarations
  arm64: unify native/compat instruction skipping
  arm64: BTI: Decode BYTPE bits when printing PSTATE
  arm64: elf: Enable BTI at exec based on ELF program properties
  elf: Allow arch to tweak initial mmap prot flags
  arm64: Basic Branch Target Identification support
  ELF: Add ELF program property parsing support
  ELF: UAPI and Kconfig additions for ELF program properties
2020-05-05 15:15:58 +01:00
Rob Herring 184dbc152e arm64: silicon-errata.rst: Sort the Cortex-A55 entries
The Arm silicon errata list is mostly sorted by CPU name with the
exception of Cortex-A55, so let's sort it before adding more entries.

Signed-off-by: Rob Herring <robh@kernel.org>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will@kernel.org>
Link: https://lore.kernel.org/r/20200429191921.32484-1-robh@kernel.org
Signed-off-by: Will Deacon <will@kernel.org>
2020-04-29 21:33:19 +01:00
Will Deacon e24e03aa00 arm64: docs: Mandate that the I-cache doesn't hold stale kernel text
Although we require that the loaded kernel Image has been cleaned to the
PoC, we neglect to spell out the state of the I-cache. Although this
should be reasonably obvious, it doesn't hurt to be explicit.

Require that the I-cache doesn't hold any stale entries for the kernel
Image at boot.

Acked-by: Mark Rutland <mark.rutland@arm.com>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Link: https://lore.kernel.org/r/20200423093658.10602-1-will@kernel.org
Signed-off-by: Will Deacon <will@kernel.org>
2020-04-28 14:24:10 +01:00