Linux 6.18.44
Greg Kroah-Hartman
maintainerDocumentation/hwmon/ina2xx.rst +22 -3
@@ -74,6 +74,16 @@ Supported chips: https://us1.silergy.com/ + * Texas Instruments INA234 + + Prefix: 'ina234' + + Addresses: I2C 0x40 - 0x43 + + Datasheet: Publicly available at the Texas Instruments website + + https://www.ti.com/ + Author: Lothar Felten <[email protected]> Description
@@ -89,7 +99,7 @@ interface. The INA220 monitors both shunt drop and supply voltage. The INA226 is a current shunt and power monitor with an I2C interface. The INA226 monitors both a shunt voltage drop and bus supply voltage. -INA230 and INA231 are high or low side current shunt and power monitors +INA230, INA231, and INA234 are high or low side current shunt and power monitors with an I2C interface. The chips monitor both a shunt voltage drop and bus supply voltage.
@@ -124,8 +134,17 @@ power1_input Power(uW) measurement channel shunt_resistor Shunt resistance(uOhm) channel (not for ina260) ======================= =============================================== -Additional sysfs entries for ina226, ina230, ina231, ina260, and sy24655 ------------------------------------------------------------------------- +Additional sysfs entries +------------------------ + +Additional entries are available for the following chips: + + * ina226 + * ina230 + * ina231 + * ina234 + * ina260 + * sy24655 ======================= ==================================================== curr1_lcrit Critical low current
Documentation/virt/kvm/api.rst +6 -0
@@ -8259,6 +8259,12 @@ When this capability is enabled all memory in memslots must be mapped as attempts to create a memslot with an invalid mmap will result in an -EINVAL return. +``guest_memfd``, even though it is an anonymous file, is not supported with MTE. +Attempting to create a memslot backed by ``guest_memfd`` when the MTE capability +is enabled, or attempting to enable the MTE capability after +``guest_memfd``-backed memslots have been created, will result in an -EINVAL +return. + When enabled the VMM may make use of the ``KVM_ARM_MTE_COPY_TAGS`` ioctl to perform a bulk copy of tags to/from the guest.
Makefile +1 -1
@@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 6 PATCHLEVEL = 18 -SUBLEVEL = 43 +SUBLEVEL = 44 EXTRAVERSION = NAME = Baby Opossum Posse
arch/arm64/kvm/arm.c +19 -6
@@ -96,14 +96,27 @@ int kvm_vm_ioctl_enable_cap(struct kvm *kvm,set_bit (KVM_ARCH_FLAG_RETURN_NISV_IO_ABORT_TO_USER , &kvm->arch.flags);break ; -case KVM_CAP_ARM_MTE : -mutex_lock (&kvm->lock); -if (system_supports_mte () && !kvm->created_vcpus) { - r =0 ; -set_bit (KVM_ARCH_FLAG_MTE_ENABLED , &kvm->arch.flags); +case KVM_CAP_ARM_MTE : { +struct kvm_memory_slot *memslot; +int bkt; + +guard (mutex)(&kvm->lock); +if (!system_supports_mte () || kvm->created_vcpus) +break ; + + r =0 ; +guard (mutex)(&kvm->slots_lock); +kvm_for_each_memslot (memslot, bkt,kvm_memslots (kvm)) { +if (kvm_slot_has_gmem (memslot)) { + r = -EINVAL ; +break ; + } } -mutex_unlock (&kvm->lock); +if (r ==0 ) +set_bit (KVM_ARCH_FLAG_MTE_ENABLED , &kvm->arch.flags);break ; + + }case KVM_CAP_ARM_SYSTEM_SUSPEND : r =0 ;set_bit (KVM_ARCH_FLAG_SYSTEM_SUSPEND_ENABLED , &kvm->arch.flags);
arch/arm64/kvm/mmu.c +4 -0
@@ -2323,6 +2323,10 @@ int kvm_arch_prepare_memory_region(struct kvm *kvm,if (kvm_slot_has_gmem (new) && !kvm_memslot_is_gmem_only (new))return -EINVAL ; +/* guest_memfd is incompatible with MTE. */ +if (kvm_slot_has_gmem (new) &&kvm_has_mte (kvm)) +return -EINVAL ; + hva = new->userspace_addr; reg_end = hva + (new->npages <<PAGE_SHIFT );
arch/powerpc/boot/simpleboot.c +1 -1
@@ -68,7 +68,7 @@ void platform_init(unsigned long r3, unsigned long r4, unsigned long r5,/* finally, setup the timebase */ node =fdt_node_offset_by_prop_value (_dtb_start,-1 ,"device_type" ,"cpu" ,sizeof ("cpu" )); -if (!node) +if (node <0 )fatal ("Cannot find cpu node\n" ); timebase =fdt_getprop (_dtb_start, node,"timebase-frequency" , &size);if (timebase && (size ==4 ))
arch/powerpc/boot/treeboot-akebono.c +1 -1
@@ -146,7 +146,7 @@ void platform_init(char *userdata) node =fdt_node_offset_by_prop_value (_dtb_start,-1 ,"device_type" ,"cpu" ,sizeof ("cpu" )); -if (!node) +if (node <0 )fatal ("Cannot find cpu node\n" ); timebase =fdt_getprop (_dtb_start, node,"timebase-frequency" , &size);if (timebase && (size ==4 ))
arch/powerpc/boot/treeboot-currituck.c +1 -1
@@ -102,7 +102,7 @@ void platform_init(void) node =fdt_node_offset_by_prop_value (_dtb_start,-1 ,"device_type" ,"cpu" ,sizeof ("cpu" )); -if (!node) +if (node <0 )fatal ("Cannot find cpu node\n" ); timebase =fdt_getprop (_dtb_start, node,"timebase-frequency" , &size);if (timebase && (size ==4 ))
arch/powerpc/platforms/ps3/mm.c +1 -0
@@ -615,6 +615,7 @@ static int dma_ioc0_map_pages(struct ps3_dma_region *r, unsigned long phys_addr, fail_map:for (iopage--;0 <= iopage; iopage--) { + offset = (1 << r->page_size) * iopage; lv1_put_iopte(0, c->bus_addr + offset, c->lpar_addr + offset,
arch/riscv/kernel/unaligned_access_speed.c +2 -2
@@ -376,7 +376,7 @@ static void check_vector_unaligned_access(struct work_struct *work __always_unus }/* Measure unaligned access speed on all CPUs present at boot in parallel. */ -static int __init vec_check_unaligned_access_speed_all_cpus (void *unused__always_unused ) +static int vec_check_unaligned_access_speed_all_cpus (void *unused__always_unused ) {schedule_on_each_cpu (check_vector_unaligned_access);riscv_hwprobe_complete_async_probe ();
@@ -384,7 +384,7 @@ static int __init vec_check_unaligned_access_speed_all_cpus(void *unused __alway return 0; }#else /* CONFIG_RISCV_PROBE_VECTOR_UNALIGNED_ACCESS */ -static int __init vec_check_unaligned_access_speed_all_cpus (void *unused__always_unused ) +static int vec_check_unaligned_access_speed_all_cpus (void *unused__always_unused ) {return 0 ; }
arch/riscv/mm/init.c +2 -2
@@ -1738,7 +1738,7 @@ static void __meminit remove_pud_mapping(pud_t *pud_base, unsigned long addr, unfor (; addr < end; addr = next) { next =pud_addr_end (addr, end); - pudp = pud_base +pud_index (addr); + pudp = pgtable_l4_enabled ? pud_base +pud_index (addr) : pud_base; pud =pudp_get (pudp);if (!pud_present (pud))continue ;
@@ -1769,7 +1769,7 @@ static void __meminit remove_p4d_mapping(p4d_t *p4d_base, unsigned long addr, unfor (; addr < end; addr = next) { next =p4d_addr_end (addr, end); - p4dp = p4d_base +p4d_index (addr); + p4dp = pgtable_l5_enabled ? p4d_base +p4d_index (addr) : p4d_base; p4d =p4dp_get (p4dp);if (!p4d_present (p4d))continue ;
arch/s390/kvm/pci.c +65 -13
157 lines not on this page · raw message
arch/s390/kvm/pci.h +2 -0
@@ -22,6 +22,8 @@ struct kvm_zdev {struct kvm *kvm;struct zpci_fib fib;struct list_head entry; +struct user_struct *user_account; +struct mm_struct *mm_account; };struct zpci_gaite {
arch/s390/pci/pci_mmio.c +1 -0
@@ -188,6 +188,7 @@ SYSCALL_DEFINE3(s390_pci_mmio_write, unsigned long, mmio_addr, goto out_unlock_mmap; } + ret = -EFAULT ; io_addr = (void __iomem *)((args.pfn <<PAGE_SHIFT ) | (mmio_addr & ~PAGE_MASK ));
arch/um/drivers/vector_kern.c +3 -0
@@ -1000,6 +1000,9 @@ static int vector_mmsg_rx(struct vector_private *vp, int budget)*/ dev_kfree_skb_irq (skb); vp->estats.rx_encaps_errors++; + (*skbuff_vector) =NULL ; + mmsg_vector++; + skbuff_vector++;continue ; }if (header_check >0 ) {
arch/x86/boot/string.c +9 -2
@@ -32,8 +32,15 @@int memcmp (const void *s1,const void *s2,size_t len) {bool diff; - asm("repe cmpsb" - :"=@ccnz" (diff),"+D" (s1),"+S" (s2),"+c" (len)); + +/* +* Make sure ZF is properly set in the len==0 case because in it, +* RCX==0 and the REPE; CMPSB won't get executed. +*/ + asmvolatile ("test %3, %3\n\t" +"repe cmpsb" + :"=@ccnz" (diff),"+D" (s1),"+S" (s2),"+c" (len) + : :"cc" ,"memory" );return diff; }
arch/x86/kernel/cpu/mshyperv.c +15 -13
@@ -440,7 +440,7 @@ EXPORT_SYMBOL_GPL(hv_get_hypervisor_version);static void __init ms_hyperv_init_platform (void ) { -int hv_max_functions_eax; +int hv_max_functions_eax, eax;#ifdef CONFIG_PARAVIRT pv_info.name ="Hyper-V" ;
@@ -475,6 +475,19 @@ static void __init ms_hyperv_init_platform(void)pr_info ("Hyper-V: running on a nested hypervisor\n" ); } +/* +* There is no check against the max function for HYPERV_CPUID_VIRT_STACK_* CPUID +* leaves as the hypervisor doesn't handle them. Even a nested root partition (L2 +* root) will not get them because the nested (L1) hypervisor filters them out. +* These are handled through intercept processing by the Windows Hyper-V stack +* or the paravisor. +*/ + eax =cpuid_eax (HYPERV_CPUID_VIRT_STACK_PROPERTIES ); + ms_hyperv.confidential_vmbus_available = + eax &HYPERV_VS_PROPERTIES_EAX_CONFIDENTIAL_VMBUS_AVAILABLE ; + ms_hyperv.msi_ext_dest_id = + eax &HYPERV_VS_PROPERTIES_EAX_EXTENDED_IOAPIC_RTE ; +if (ms_hyperv.features &HV_ACCESS_FREQUENCY_MSRS && ms_hyperv.misc_features &HV_FEATURE_FREQUENCY_MSRS_AVAILABLE ) { x86_platform.calibrate_tsc = hv_get_tsc_khz;
@@ -675,21 +688,10 @@ static bool __init ms_hyperv_x2apic_available(void)* pci-hyperv host bridge. * * Note: for a Hyper-V root partition, this will always return false. -* The hypervisor doesn't expose these HYPERV_CPUID_VIRT_STACK_* cpuids by -* default, they are implemented as intercepts by the Windows Hyper-V stack. -* Even a nested root partition (L2 root) will not get them because the -* nested (L1) hypervisor filters them out. */ static bool __init ms_hyperv_msi_ext_dest_id (void ) { -u32 eax; - - eax =cpuid_eax (HYPERV_CPUID_VIRT_STACK_INTERFACE ); -if (eax !=HYPERV_VS_INTERFACE_EAX_SIGNATURE ) -return false; - - eax =cpuid_eax (HYPERV_CPUID_VIRT_STACK_PROPERTIES ); -return eax &HYPERV_VS_PROPERTIES_EAX_EXTENDED_IOAPIC_RTE ; +return ms_hyperv.msi_ext_dest_id; }#ifdef CONFIG_AMD_MEM_ENCRYPT
arch/x86/kvm/svm/avic.c +0 -8
@@ -220,14 +220,6 @@ static void avic_deactivate_vmcb(struct vcpu_svm *svm)if (!sev_es_guest (svm->vcpu.kvm))svm_set_intercept (svm,INTERCEPT_CR8_WRITE ); -/* -* If running nested and the guest uses its own MSR bitmap, there -* is no need to update L0's msr bitmap -*/ -if (is_guest_mode (&svm->vcpu) && -vmcb12_is_intercept (&svm->nested.ctl,INTERCEPT_MSR_PROT )) -return ; -/* Enabling MSR intercept for x2APIC registers */ avic_set_x2apic_msr_interception (svm, true); }
arch/x86/kvm/vmx/vmx_ops.h +4 -4
@@ -101,7 +101,7 @@ static __always_inline unsigned long __vmcs_readl(unsigned long field) : [output] "=r" (value) : [field] "r" (field) - : "cc" + : "cc", "memory" : do_fail, do_exception);return value;
@@ -146,7 +146,7 @@ static __always_inline unsigned long __vmcs_readl(unsigned long field) : ASM_CALL_CONSTRAINT, [output] "=&r" (value) : [field] "r" (field) - : "cc"); + : "cc", "memory");return value;#endif /* CONFIG_CC_HAS_ASM_GOTO_OUTPUT */
@@ -194,7 +194,7 @@ do { \ ".byte 0x2e\n\t" /* branch not taken hint */ \ "jna %l[error]\n\t" \ _ASM_EXTABLE(1b, %l[fault]) \ - : : op1 : "cc" : error, fault); \ + : : op1 : "cc", "memory" : error, fault); \return ; \ error: \instrumentation_begin (); \
@@ -211,7 +211,7 @@ do { \ ".byte 0x2e\n\t" /* branch not taken hint */ \ "jna %l[error]\n\t" \ _ASM_EXTABLE(1b, %l[fault]) \ - : : op1, op2 : "cc" : error, fault); \ + : : op1, op2 : "cc", "memory" : error, fault);\return; \ error: \ instrumentation_begin(); \
drivers/accel/qaic/qaic_control.c +1 -1
@@ -782,7 +782,7 @@ static int encode_message(struct qaic_device *qdev, struct manage_msg *user_msg,break ; } trans_hdr = (struct qaic_manage_trans_hdr *)(user_msg->data + user_len); -if (trans_hdr->len <sizeof (trans_hdr) || +if (trans_hdr->len <sizeof (*trans_hdr) ||size_add (user_len, trans_hdr->len) > user_msg->len) { ret = -EINVAL ;break ;
drivers/ata/ahci_ceva.c +14 -4
@@ -211,7 +211,7 @@ static int ceva_ahci_platform_enable_resources(struct ahci_host_priv *hpriv) rc =phy_init (hpriv->phys[i]);if (rc) - goto disable_rsts; + goto exit_phys; }/* De-assert the controller reset */
@@ -230,14 +230,24 @@ static int ceva_ahci_platform_enable_resources(struct ahci_host_priv *hpriv)return 0 ; -disable_rsts: -ahci_platform_deassert_rsts (hpriv); - disable_phys:while (--i >=0 ) { +if (ahci_ignore_port (hpriv, i)) +continue ; +phy_power_off (hpriv->phys[i]);phy_exit (hpriv->phys[i]); } +ahci_platform_assert_rsts (hpriv); + goto disable_clks; + +exit_phys: +while (--i >=0 ) { +if (ahci_ignore_port (hpriv, i)) +continue ; + +phy_exit (hpriv->phys[i]); + } disable_clks:ahci_platform_disable_clks (hpriv);
drivers/ata/libata-eh.c +8 -0
@@ -106,6 +106,12 @@ static const unsigned int ata_eh_flush_timeouts[] = { UINT_MAX, }; +static const unsigned int ata_eh_standby_timeouts[] = { +15000 ,/* Some drives may be slow to standby */ +/* but don't hold up a suspend too long waiting for them */ +UINT_MAX , +}; +static const unsigned int ata_eh_other_timeouts[] = {5000 ,/* same rationale as identify timeout */ 10000 ,/* ditto */
@@ -147,6 +153,8 @@ ata_eh_cmd_timeout_table[ATA_EH_CMD_TIMEOUT_TABLE_SIZE] = { .timeouts = ata_eh_other_timeouts, }, { .commands = CMDS(ATA_CMD_FLUSH, ATA_CMD_FLUSH_EXT), .timeouts = ata_eh_flush_timeouts }, + { .commands = CMDS(ATA_CMD_STANDBYNOW1), + .timeouts = ata_eh_standby_timeouts }, { .commands = CMDS(ATA_CMD_VERIFY), .timeouts = ata_eh_reset_timeouts }, };
drivers/ata/libata-sata.c +1 -1
@@ -913,7 +913,7 @@ static bool ata_scsi_lpm_supported(struct ata_port *ap)return false;ata_for_each_link (link, ap,EDGE ) { -ata_for_each_dev (dev, &ap->link,ENABLED ) { +ata_for_each_dev (dev, link,ENABLED ) {if (dev->quirks &ATA_QUIRK_NOLPM )return false; }
drivers/ata/sata_mv.c +1 -1
@@ -4026,7 +4026,7 @@ static int mv_platform_probe(struct platform_device *pdev)/* * Simple resource validation .. */ -if (unlikely (pdev->num_resources !=1 )) { +if (unlikely (pdev->num_resources !=1 && pdev->num_resources !=2 )) {dev_err (&pdev->dev,"invalid number of resources\n" );return -EINVAL ; }
drivers/block/ublk_drv.c +9 -0
@@ -3287,6 +3287,15 @@ static int ublk_ctrl_add_dev(const struct ublksrv_ctrl_cmd *header)/* update device id */ ub->dev_info.dev_id = ub->ub_number; +/* +* ->state and ->ublksrv_pid are owned by the driver and only read back +* by userspace, but they come from the copied-in dev_info, so reset +* them. Otherwise a device added with ->state != DEAD looks live while +* ->ub_disk is still NULL. +*/ + ub->dev_info.state =UBLK_S_DEV_DEAD ; + ub->dev_info.ublksrv_pid =-1 ; +/* * 64bit flags will be copied back to userspace as feature * negotiation result, so have to clear flags which driver
drivers/bluetooth/btintel.c +3 -0
@@ -3694,6 +3694,9 @@ static int btintel_diagnostics(struct hci_dev *hdev, struct sk_buff *skb) {struct intel_tlv *tlv = (void *)&skb->data[5 ]; +if (skb->len <5 +sizeof (*tlv) +sizeof (tlv->val[0 ])) + goto recv_frame; +/* The first event is always an event type TLV */ if (tlv->type !=INTEL_TLV_TYPE_ID ) goto recv_frame;
drivers/bluetooth/btmtk.c +22 -28
127 lines not on this page · raw message
drivers/bluetooth/btusb.c +9 -21
@@ -3345,28 +3345,16 @@ static const char *qca_get_fw_subdirectory(const struct qca_version *ver)static int btusb_qca_send_vendor_req (struct usb_device *udev,u8 request,void *data,u16 size) { -int pipe, err; -u8 *buf; - - buf =kmalloc (size,GFP_KERNEL ); -if (!buf) -return -ENOMEM ; +int err;/* Found some of USB hosts have IOT issues with ours so that we should * not wait until HCI layer is ready. */ - pipe =usb_rcvctrlpipe (udev,0 ); - err =usb_control_msg (udev, pipe, request,USB_TYPE_VENDOR |USB_DIR_IN , -0 ,0 , buf, size,USB_CTRL_GET_TIMEOUT ); -if (err <0 ) { + err =usb_control_msg_recv (udev,0 , request,USB_TYPE_VENDOR |USB_DIR_IN , +0 ,0 , data, size,USB_CTRL_GET_TIMEOUT , +GFP_KERNEL ); +if (err)dev_err (&udev->dev,"Failed to access otp area (%d)" , err); - goto done; - } - -memcpy (data, buf, size); - -done: -kfree (buf);return err; }
@@ -3573,7 +3561,7 @@ static bool btusb_qca_need_patch(struct usb_device *udev)struct qca_version ver;if (btusb_qca_send_vendor_req (udev,QCA_GET_TARGET_VERSION , &ver, -sizeof (ver)) <0 ) +sizeof (ver)))return false;/* only low ROM versions need patches */ return !(le32_to_cpu (ver.rom_version) & ~0xffffU );
@@ -3591,7 +3579,7 @@ static int btusb_setup_qca(struct hci_dev *hdev) err =btusb_qca_send_vendor_req (udev,QCA_GET_TARGET_VERSION , &ver,sizeof (ver)); -if (err <0 ) +if (err)return err; ver_rom =le32_to_cpu (ver.rom_version);
@@ -3614,7 +3602,7 @@ static int btusb_setup_qca(struct hci_dev *hdev) err =btusb_qca_send_vendor_req (udev,QCA_CHECK_STATUS , &status,sizeof (status)); -if (err <0 ) +if (err)return err;if (!(status &QCA_PATCH_UPDATED )) {
@@ -3625,7 +3613,7 @@ static int btusb_setup_qca(struct hci_dev *hdev) err =btusb_qca_send_vendor_req (udev,QCA_GET_TARGET_VERSION , &ver,sizeof (ver)); -if (err <0 ) +if (err)return err; btdata->qca_dump.fw_version =le32_to_cpu (ver.patch_version);
drivers/cpufreq/powernow-k8.c +1 -0
@@ -1083,6 +1083,7 @@ static int powernowk8_cpu_init(struct cpufreq_policy *pol) err_out_exit_acpi:powernow_k8_cpu_exit_acpi (data); +kfree (data->powernow_table); err_out:kfree (data);
drivers/dibs/dibs_loopback.c +24 -23
103 lines not on this page · raw message
drivers/dma/idxd/cdev.c +3 -1
@@ -288,6 +288,7 @@ static int idxd_cdev_open(struct inode *inode, struct file *filp) fdev->parent =cdev_dev (idxd_cdev); fdev->bus = &dsa_bus_type; fdev->type = &idxd_cdev_file_type; +idxd_wq_get (wq); rc =dev_set_name (fdev,"file%d" , ctx->id);if (rc <0 ) {
@@ -301,13 +302,14 @@ static int idxd_cdev_open(struct inode *inode, struct file *filp) goto failed_dev_add; } -idxd_wq_get (wq);mutex_unlock (&wq->wq_lock);return 0 ; failed_dev_add: failed_dev_name: +mutex_unlock (&wq->wq_lock);put_device (fdev); +return rc; failed_ida: failed_set_pasid:if (device_user_pasid_enabled (idxd))
drivers/dma/sun6i-dma.c +4 -7
@@ -935,16 +935,13 @@ static int sun6i_dma_terminate_all(struct dma_chan *chan)spin_lock_irqsave (&vchan->vc.lock, flags); -if (vchan->cyclic) { - vchan->cyclic = false; -if (pchan && pchan->desc) { -struct virt_dma_desc *vd = &pchan->desc->vd; -struct virt_dma_chan *vc = &vchan->vc; +if (pchan && pchan->desc && pchan->desc != pchan->done) { +struct virt_dma_desc *vd = &pchan->desc->vd; -list_add_tail (&vd->node, &vc->desc_completed); - } +vchan_terminate_vdesc (vd); } + vchan->cyclic = false;vchan_get_all_descriptors (&vchan->vc, &head);if (pchan) {
drivers/gpio/gpio-pca953x.c +13 -2
@@ -1370,9 +1370,20 @@ static int pca953x_restore_context(struct pca953x_chip *chip)regcache_mark_dirty (chip->regmap); ret =pca953x_regcache_sync (chip);if (ret) -return ret; + goto err; + + ret =regcache_sync (chip->regmap); +if (ret) + goto err; + +return 0 ; -return regcache_sync (chip->regmap); +err: +if (chip->client->irq >0 ) +disable_irq (chip->client->irq); +regcache_cache_only (chip->regmap, true); + +return ret; }static void pca953x_save_context (struct pca953x_chip *chip)
drivers/gpio/gpio-pch.c +14 -14
@@ -96,7 +96,7 @@ struct pch_gpio {struct pch_gpio_reg_data pch_gpio_reg;int irq_base;enum pch_type_t ioh; -spinlock_t spinlock; +raw_spinlock_t spinlock; };static int pch_gpio_set (struct gpio_chip *gpio,unsigned int nr,int val)
@@ -105,7 +105,7 @@ static int pch_gpio_set(struct gpio_chip *gpio, unsigned int nr, int val)struct pch_gpio *chip =gpiochip_get_data (gpio);unsigned long flags; -spin_lock_irqsave (&chip->spinlock, flags); +raw_spin_lock_irqsave (&chip->spinlock, flags); reg_val =ioread32 (&chip->reg->po);if (val) reg_val |=BIT (nr);
@@ -113,7 +113,7 @@ static int pch_gpio_set(struct gpio_chip *gpio, unsigned int nr, int val) reg_val &= ~BIT (nr);iowrite32 (reg_val, &chip->reg->po); -spin_unlock_irqrestore (&chip->spinlock, flags); +raw_spin_unlock_irqrestore (&chip->spinlock, flags);return 0 ; }
@@ -133,7 +133,7 @@ static int pch_gpio_direction_output(struct gpio_chip *gpio, unsigned int nr,u32 reg_val;unsigned long flags; -spin_lock_irqsave (&chip->spinlock, flags); +raw_spin_lock_irqsave (&chip->spinlock, flags); reg_val =ioread32 (&chip->reg->po);if (val)
@@ -147,7 +147,7 @@ static int pch_gpio_direction_output(struct gpio_chip *gpio, unsigned int nr, pm |=BIT (nr);iowrite32 (pm, &chip->reg->pm); -spin_unlock_irqrestore (&chip->spinlock, flags); +raw_spin_unlock_irqrestore (&chip->spinlock, flags);return 0 ; }
@@ -158,12 +158,12 @@ static int pch_gpio_direction_input(struct gpio_chip *gpio, unsigned int nr)u32 pm;unsigned long flags; -spin_lock_irqsave (&chip->spinlock, flags); +raw_spin_lock_irqsave (&chip->spinlock, flags); pm =ioread32 (&chip->reg->pm); pm &=BIT (gpio_pins[chip->ioh]) -1 ; pm &= ~BIT (nr);iowrite32 (pm, &chip->reg->pm); -spin_unlock_irqrestore (&chip->spinlock, flags); +raw_spin_unlock_irqrestore (&chip->spinlock, flags);return 0 ; }
@@ -265,7 +265,7 @@ static int pch_irq_type(struct irq_data *d, unsigned int type)return 0 ; } -spin_lock_irqsave (&chip->spinlock, flags); +raw_spin_lock_irqsave (&chip->spinlock, flags);/* Set interrupt mode */ im =ioread32 (im_reg) & ~(PCH_IM_MASK << (im_pos *4 ));
@@ -277,7 +277,7 @@ static int pch_irq_type(struct irq_data *d, unsigned int type)else if (type &IRQ_TYPE_EDGE_BOTH )irq_set_handler_locked (d, handle_edge_irq); -spin_unlock_irqrestore (&chip->spinlock, flags); +raw_spin_unlock_irqrestore (&chip->spinlock, flags);return 0 ; }
@@ -374,7 +374,7 @@ static int pch_gpio_probe(struct pci_dev *pdev, chip->ioh = id->driver_data; chip->reg = chip->base;pci_set_drvdata (pdev, chip); -spin_lock_init (&chip->spinlock); +raw_spin_lock_init (&chip->spinlock);pch_gpio_setup (chip); ret =devm_gpiochip_add_data (dev, &chip->gpio, chip);
@@ -407,9 +407,9 @@ static int __maybe_unused pch_gpio_suspend(struct device *dev)struct pch_gpio *chip =dev_get_drvdata (dev);unsigned long flags; -spin_lock_irqsave (&chip->spinlock, flags); +raw_spin_lock_irqsave (&chip->spinlock, flags);pch_gpio_save_reg_conf (chip); -spin_unlock_irqrestore (&chip->spinlock, flags); +raw_spin_unlock_irqrestore (&chip->spinlock, flags);return 0 ; }
@@ -419,11 +419,11 @@ static int __maybe_unused pch_gpio_resume(struct device *dev)struct pch_gpio *chip =dev_get_drvdata (dev);unsigned long flags; -spin_lock_irqsave (&chip->spinlock, flags); +raw_spin_lock_irqsave (&chip->spinlock, flags);iowrite32 (0x01 , &chip->reg->reset);iowrite32 (0x00 , &chip->reg->reset);pch_gpio_restore_reg_conf (chip); -spin_unlock_irqrestore (&chip->spinlock, flags); +raw_spin_unlock_irqrestore (&chip->spinlock, flags);return 0 ; }
drivers/gpio/gpio-sloppy-logic-analyzer.c +10 -0
@@ -161,6 +161,13 @@ static int fops_buf_size_get(void *data, u64 *val)return 0 ; } +static void fops_buf_release (void *data) +{ +struct gpio_la_poll_priv *priv = data; + +vfree (priv->blob.data); +} +static int fops_buf_size_set (void *data,u64 val) {struct gpio_la_poll_priv *priv = data;
@@ -239,6 +246,9 @@ static int gpio_la_poll_probe(struct platform_device *pdev)return ret;fops_buf_size_set (priv,GPIO_LA_DEFAULT_BUF_SIZE ); + ret =devm_add_action_or_reset (dev, fops_buf_release, priv); +if (ret) +return ret; priv->descs =devm_gpiod_get_array (dev,"probe" ,GPIOD_IN );if (IS_ERR (priv->descs))
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c +19 -20
@@ -864,7 +864,6 @@ static int amdgpu_cs_parser_bos(struct amdgpu_cs_parser *p,struct amdgpu_vm *vm = &fpriv->vm;struct amdgpu_bo_list_entry *e;struct drm_gem_object *obj; -unsigned long index;unsigned int i;int r;
@@ -969,7 +968,7 @@ static int amdgpu_cs_parser_bos(struct amdgpu_cs_parser *p, goto out_free_user_pages; } -drm_exec_for_each_locked_object (&p->exec, index, obj) { +drm_exec_for_each_locked_object (&p->exec, obj) { r =amdgpu_cs_bo_validate (p,gem_to_amdgpu_bo (obj));if (unlikely (r)) goto out_free_user_pages;
@@ -1187,19 +1186,6 @@ static int amdgpu_cs_vm_handling(struct amdgpu_cs_parser *p) job->vm_pd_addr =amdgpu_gmc_pd_addr (vm->root.bo); } -if (adev->debug_vm) { -/* Invalidate all BOs to test for userspace bugs */ -amdgpu_bo_list_for_each_entry (e, p->bo_list) { -struct amdgpu_bo *bo = e->bo; - -/* ignore duplicates */ -if (!bo) -continue ; - -amdgpu_vm_bo_invalidate (bo, false); - } - } -return 0 ; }
@@ -1209,7 +1195,6 @@ static int amdgpu_cs_sync_rings(struct amdgpu_cs_parser *p)struct drm_gpu_scheduler *sched;struct drm_gem_object *obj;struct dma_fence *fence; -unsigned long index;unsigned int i;int r;
@@ -1220,7 +1205,7 @@ static int amdgpu_cs_sync_rings(struct amdgpu_cs_parser *p)return r; } -drm_exec_for_each_locked_object (&p->exec, index, obj) { +drm_exec_for_each_locked_object (&p->exec, obj) {struct amdgpu_bo *bo =gem_to_amdgpu_bo (obj);struct dma_resv *resv = bo->tbo.base.resv;
@@ -1289,7 +1274,6 @@ static int amdgpu_cs_submit(struct amdgpu_cs_parser *p,struct amdgpu_vm *vm = &fpriv->vm;struct amdgpu_bo_list_entry *e;struct drm_gem_object *gobj; -unsigned long index;unsigned int i;uint64_t seq;int r;
@@ -1340,7 +1324,7 @@ static int amdgpu_cs_submit(struct amdgpu_cs_parser *p, } p->fence =dma_fence_get (&leader->base.s_fence->finished); -drm_exec_for_each_locked_object (&p->exec, index, gobj) { +drm_exec_for_each_locked_object (&p->exec, gobj) {ttm_bo_move_to_lru_tail_unlocked (&gem_to_amdgpu_bo (gobj)->tbo);
@@ -1389,6 +1373,8 @@ static int amdgpu_cs_submit(struct amdgpu_cs_parser *p,/* Cleanup the parser structure */ static void amdgpu_cs_parser_fini (struct amdgpu_cs_parser *parser) { +struct amdgpu_device *adev = parser->adev; +struct amdgpu_bo_list_entry *e;unsigned int i;amdgpu_sync_free (&parser->sync);
@@ -1404,8 +1390,21 @@ static void amdgpu_cs_parser_fini(struct amdgpu_cs_parser *parser)if (parser->ctx)amdgpu_ctx_put (parser->ctx); -if (parser->bo_list) +if (parser->bo_list) { +if (adev->debug_vm) { +/* Invalidate all BOs to test for userspace bugs */ +amdgpu_bo_list_for_each_entry (e, parser->bo_list) { +struct amdgpu_bo *bo = e->bo; + +/* ignore duplicates */ +if (!bo) +continue ; + +amdgpu_vm_bo_invalidate (bo, false); + } + }amdgpu_bo_list_put (parser->bo_list); + }for (i =0 ; i < parser->nchunks; i++)kvfree (parser->chunks[i].kdata);
drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c +42 -29
110 lines not on this page · raw message
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c +15 -0
@@ -2891,6 +2891,19 @@ static int amdgpu_pmops_runtime_suspend(struct device *dev)return 0 ; } +static void amdgpu_restore_umd_profile_pstate_after_runpm (struct amdgpu_device *adev) +{ +enum amd_dpm_forced_level level; +uint32_t profile_mode_mask =AMD_DPM_FORCED_LEVEL_PROFILE_STANDARD | +AMD_DPM_FORCED_LEVEL_PROFILE_MIN_SCLK | +AMD_DPM_FORCED_LEVEL_PROFILE_MIN_MCLK | +AMD_DPM_FORCED_LEVEL_PROFILE_PEAK ; + + level =amdgpu_dpm_get_performance_level (adev); +if (level & profile_mode_mask) +amdgpu_asic_update_umd_stable_pstate (adev, true); +} +static int amdgpu_pmops_runtime_resume (struct device *dev) {struct pci_dev *pdev =to_pci_dev (dev);
@@ -2935,6 +2948,8 @@ static int amdgpu_pmops_runtime_resume(struct device *dev)if (adev->pm.rpm_mode ==AMDGPU_RUNPM_PX ) drm_dev->switch_power_state =DRM_SWITCH_POWER_ON ; + +amdgpu_restore_umd_profile_pstate_after_runpm (adev); adev->in_runpm = false;return 0 ; }
drivers/gpu/drm/amd/amdgpu/amdgpu_eviction_fence.c +1 -2
@@ -49,7 +49,6 @@ amdgpu_eviction_fence_replace_fence(struct amdgpu_eviction_fence_mgr *evf_mgr, {struct amdgpu_eviction_fence *old_ef, *new_ef;struct drm_gem_object *obj; -unsigned long index;int ret; if (evf_mgr->ev_fence &&
@@ -77,7 +76,7 @@ amdgpu_eviction_fence_replace_fence(struct amdgpu_eviction_fence_mgr *evf_mgr,spin_unlock (&evf_mgr->ev_fence_lock);/* Attach the new fence */ -drm_exec_for_each_locked_object (exec, index, obj) { +drm_exec_for_each_locked_object (exec, obj) {struct amdgpu_bo *bo =gem_to_amdgpu_bo (obj);if (!bo)
drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.c +28 -2
@@ -217,7 +217,20 @@ static bool amdgpu_gtt_mgr_intersects(struct ttm_resource_manager *man, const struct ttm_place *place, size_t size) { -return !place->lpfn ||amdgpu_gtt_mgr_has_gart_addr (res); +const struct drm_mm_node *const node = &to_ttm_range_mgr_node (res)->mm_nodes[0 ]; +const u32 num_pages =PFN_UP (size); + +if (!place->lpfn) +return true; + +if (!amdgpu_gtt_mgr_has_gart_addr (res)) +return false; + +if (place->fpfn >= (node->start + num_pages) || + (place->lpfn && place->lpfn <= node->start)) +return false; + +return true; }/**
@@ -235,7 +248,20 @@ static bool amdgpu_gtt_mgr_compatible(struct ttm_resource_manager *man, const struct ttm_place *place, size_t size) { -return !place->lpfn ||amdgpu_gtt_mgr_has_gart_addr (res); +const struct drm_mm_node *const node = &to_ttm_range_mgr_node (res)->mm_nodes[0 ]; +const u32 num_pages =PFN_UP (size); + +if (!place->lpfn) +return true; + +if (!amdgpu_gtt_mgr_has_gart_addr (res)) +return false; + +if (node->start < place->fpfn || + (place->lpfn && (node->start + num_pages) > place->lpfn)) +return false; + +return true; }/**
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c +12 -0
@@ -2078,6 +2078,18 @@ int amdgpu_ttm_init(struct amdgpu_device *adev) gtt_size = configured_size; } +/* Cap GTT so that it does not exceed total physical RAM. */ +if (adev->flags &AMD_IS_APU ) { +u64 phys_ram = (u64 )totalram_pages () <<PAGE_SHIFT ; + +if (gtt_size > phys_ram) { + gtt_size = phys_ram; +dev_info (adev->dev, +"Capping GTT to %uM to not exceed available system memory\n" , + (unsigned int )(gtt_size / (1024 *1024 ))); + } + } +/* Initialize GTT memory pool */ r =amdgpu_gtt_mgr_init (adev, gtt_size);if (r) {
drivers/gpu/drm/amd/amdkfd/kfd_chardev.c +7 -3
@@ -2971,10 +2971,14 @@ static int kfd_ioctl_set_debug_trap(struct file *filep, struct kfd_process *p, v goto out; } -/* Check if target is still PTRACED. */ +/* +* Verify debugger has permission to debug target process. +* For cross-process debugging, require active ptrace relationship. +* This applies to ALL operations to prevent unauthorized interference. +*/ rcu_read_lock (); -if (target != p && args->op !=KFD_IOC_DBG_TRAP_DISABLE - &&ptrace_parent (target->lead_thread) != current) { +if (target != p &&ptrace_parent (target->lead_thread) != current + && target->debugger_process != p) {pr_err ("PID %i is not PTRACED and cannot be debugged\n" , args->pid); r = -EPERM ; }
drivers/gpu/drm/amd/amdkfd/kfd_events.c +20 -3
@@ -521,6 +521,9 @@ int kfd_criu_restore_event(struct file *devkfd, ret =create_other_event (p, ev, &ev_priv->event_id);break ; +default : + ret = -EINVAL ; +break ; }mutex_unlock (&p->event_mutex);
@@ -542,15 +545,27 @@ int kfd_criu_checkpoint_events(struct kfd_process *p,int ret =0 ;struct kfd_event *ev;uint32_t ev_id; +uint32_t num_events; -uint32_t num_events =kfd_get_num_events (p); +/* Serialize the count and the walk below against concurrent event +* create/destroy. Those paths take only p->event_mutex, not the +* p->mutex held by the CRIU checkpoint caller, so without this the +* event_idr can grow between kfd_get_num_events() and the loop and the +* walk writes past the ev_privs allocation. +*/ +mutex_lock (&p->event_mutex); -if (!num_events) + num_events =kfd_get_num_events (p); +if (!num_events) { +mutex_unlock (&p->event_mutex);return 0 ; + } ev_privs =kvzalloc (num_events *sizeof (*ev_privs),GFP_KERNEL ); -if (!ev_privs) +if (!ev_privs) { +mutex_unlock (&p->event_mutex);return -ENOMEM ; + }idr_for_each_entry (&p->event_idr, ev, ev_id) {
@@ -591,6 +606,8 @@ int kfd_criu_checkpoint_events(struct kfd_process *p, i++; } +mutex_unlock (&p->event_mutex); + ret =copy_to_user (user_priv_data + *priv_data_offset, ev_privs, num_events *sizeof (*ev_privs));if (ret) {
drivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.c +1 -1
@@ -375,7 +375,7 @@ int pqm_create_queue(struct process_queue_manager *pqm, false);if (retval) {dev_err (dev->adev->dev,"failed to allocate process context bo\n" ); -return retval; + goto err_allocate_pqn; }memset (pdd->proc_ctx_cpu_ptr,0 ,AMDGPU_MES_PROC_CTX_SIZE ); }
drivers/gpu/drm/amd/amdkfd/kfd_queue.c +1 -1
@@ -285,7 +285,7 @@ int kfd_queue_acquire_buffers(struct kfd_process_device *pdd, struct queue_prope } err =kfd_queue_buffer_get (vm, (void *)properties->eop_ring_buffer_address, &properties->eop_buf_bo, -ALIGN (properties->eop_ring_buffer_size,PAGE_SIZE )); +ALIGN ((u64 )properties->eop_ring_buffer_size,PAGE_SIZE ));if (err) goto out_err_unreserve; }
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +184 -59
290 lines not on this page · raw message
drivers/gpu/drm/amd/display/dc/core/dc.c +45 -0
51 lines not on this page · raw message
drivers/gpu/drm/amd/display/dc/dc.h +1 -0
@@ -2611,6 +2611,7 @@ enum dc_irq_source dc_interrupt_to_irq_source( uint32_t ext_id);bool dc_interrupt_set (struct dc *dc,enum dc_irq_source src,bool enable);void dc_interrupt_ack (struct dc *dc,enum dc_irq_source src); +bool dc_get_flip_pending_on_otg (struct dc *dc,int otg_inst);enum dc_irq_source dc_get_hpd_irq_source_at_index (struct dc *dc,uint32_t link_index);
drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.c +9 -11
@@ -45,9 +45,7 @@ clk_src->base.ctx#define DC_LOGGER \ - calc_pll_cs->ctx->logger -#define DC_LOGGER_INIT () \ - struct calc_pll_clock_source *calc_pll_cs = &clk_src->calc_pll + CTX->logger#undef FN#define FN (reg_name, field_name) \
@@ -291,6 +289,7 @@ static bool calc_pll_dividers_in_range( }static uint32_t calculate_pixel_clock_pll_dividers ( +struct dce110_clk_src *clk_src,struct calc_pll_clock_source *calc_pll_cs,struct pll_settings *pll_settings) {
@@ -479,7 +478,7 @@ static uint32_t dce110_get_pix_clk_dividers_helper ( {uint32_t field =0 ;uint32_t pll_calc_error =MAX_PLL_CALC_ERROR ; -DC_LOGGER_INIT (); +/* Check if reference clock is external (not pcie/xtalin) * HW Dce80 spec: * 00 - PCIE_REFCLK, 01 - XTALIN, 02 - GENERICA, 03 - GENERICB
@@ -522,12 +521,14 @@ static uint32_t dce110_get_pix_clk_dividers_helper (/*Calculate Dividers by HDMI object, no SS case or SS case */ pll_calc_error =calculate_pixel_clock_pll_dividers ( + clk_src, &clk_src->calc_pll_hdmi, pll_settings); else/*Calculate Dividers by default object, no SS case or SS case */ pll_calc_error =calculate_pixel_clock_pll_dividers ( + clk_src, &clk_src->calc_pll, pll_settings);
@@ -572,7 +573,6 @@ static uint32_t dce110_get_pix_clk_dividers( {struct dce110_clk_src *clk_src =TO_DCE110_CLK_SRC (cs);uint32_t pll_calc_error =MAX_PLL_CALC_ERROR ; -DC_LOGGER_INIT ();if (pix_clk_params ==NULL || pll_settings ==NULL || pix_clk_params->requested_pix_clk_100hz ==0 ) {
@@ -604,7 +604,6 @@ static uint32_t dce112_get_pix_clk_dividers( struct pll_settings *pll_settings) {struct dce110_clk_src *clk_src =TO_DCE110_CLK_SRC (cs); -DC_LOGGER_INIT ();if (pix_clk_params ==NULL || pll_settings ==NULL || pix_clk_params->requested_pix_clk_100hz ==0 ) {
@@ -1370,8 +1369,6 @@ static uint32_t dcn3_get_pix_clk_dividers(unsigned long long actual_pix_clk_100Hz = pix_clk_params ? pix_clk_params->requested_pix_clk_100hz :0 ;struct dce110_clk_src *clk_src =TO_DCE110_CLK_SRC (cs); -DC_LOGGER_INIT (); -if (pix_clk_params ==NULL || pll_settings ==NULL || pix_clk_params->requested_pix_clk_100hz ==0 ) { DC_LOG_ERROR(
@@ -1441,7 +1438,6 @@ static const struct clock_source_funcs dce110_clk_src_funcs = { .get_pixel_clk_frequency_100hz = get_pixel_clk_frequency_100hz }; - static void get_ss_info_from_atombios( struct dce110_clk_src *clk_src, enum as_signal_type as_signal,
@@ -1454,7 +1450,7 @@ static void get_ss_info_from_atombios(struct spread_spectrum_info *ss_info_cur;struct spread_spectrum_data *ss_data_cur;uint32_t i; -DC_LOGGER_INIT (); +if (ss_entries_num ==NULL ) {DC_LOG_SYNC ("Invalid entry !!!\n" );
@@ -1589,6 +1585,7 @@ static void ss_info_from_atombios_create( }static bool calc_pll_max_vco_construct ( +struct dce110_clk_src *clk_src,struct calc_pll_clock_source *calc_pll_cs,struct calc_pll_clock_source_init_data *init_data) {
@@ -1740,6 +1737,7 @@ bool dce110_clk_src_construct(ss_info_from_atombios_create (clk_src);if (!calc_pll_max_vco_construct ( + clk_src, &clk_src->calc_pll, &calc_pll_cs_init_data)) {ASSERT_CRITICAL (false);
@@ -1754,7 +1752,7 @@ bool dce110_clk_src_construct(if (!calc_pll_max_vco_construct ( - &clk_src->calc_pll_hdmi, &calc_pll_cs_init_data_hdmi)) { + clk_src, &clk_src->calc_pll_hdmi, &calc_pll_cs_init_data_hdmi)) {ASSERT_CRITICAL (false); goto unexpected_failure; }
drivers/gpu/drm/amd/display/dc/hwss/dcn30/dcn30_hwseq.c +11 -5
@@ -837,13 +837,19 @@ void dcn30_set_avmute(struct pipe_ctx *pipe_ctx, bool enable) pipe_ctx->stream_res.stream_enc, enable); -/* Wait for two frame to make sure AV mute is sent out */ +/* Wait for three frames to make sure AV mute is sent out. +* Some HDMI sinks need additional GCP packets to properly +* process the mute state, especially after link re-establishment +* with HDMI 2.0 scrambling enabled. +*/ if (enable && pipe_ctx->stream_res.tg->funcs->is_tg_enabled (pipe_ctx->stream_res.tg)) { +int i; + pipe_ctx->stream_res.tg->funcs->wait_for_state (pipe_ctx->stream_res.tg,CRTC_STATE_VACTIVE ); - pipe_ctx->stream_res.tg->funcs->wait_for_state (pipe_ctx->stream_res.tg,CRTC_STATE_VBLANK ); - pipe_ctx->stream_res.tg->funcs->wait_for_state (pipe_ctx->stream_res.tg,CRTC_STATE_VACTIVE ); - pipe_ctx->stream_res.tg->funcs->wait_for_state (pipe_ctx->stream_res.tg,CRTC_STATE_VBLANK ); - pipe_ctx->stream_res.tg->funcs->wait_for_state (pipe_ctx->stream_res.tg,CRTC_STATE_VACTIVE ); +for (i =0 ; i <3 ; i++) { + pipe_ctx->stream_res.tg->funcs->wait_for_state (pipe_ctx->stream_res.tg,CRTC_STATE_VBLANK ); + pipe_ctx->stream_res.tg->funcs->wait_for_state (pipe_ctx->stream_res.tg,CRTC_STATE_VACTIVE ); + } } } }
drivers/gpu/drm/amd/pm/amdgpu_dpm.c +9 -3
@@ -1442,17 +1442,23 @@ int amdgpu_dpm_set_power_profile_mode(struct amdgpu_device *adev,return ret; } -int amdgpu_dpm_get_gpu_metrics (struct amdgpu_device *adev,void **table) +ssize_t amdgpu_dpm_get_gpu_metrics (struct amdgpu_device *adev,void *buf, +size_t size) {const struct amd_pm_funcs *pp_funcs = adev->powerplay.pp_funcs; -int ret =0 ; +void *table; +ssize_t ret;if (!pp_funcs->get_gpu_metrics)return 0 ;mutex_lock (&adev->pm.mutex); ret = pp_funcs->get_gpu_metrics (adev->powerplay.pp_handle, - table); + &table); +if (ret >0 ) { + ret =min_t (ssize_t, ret, size); +memcpy (buf, table, ret); + }mutex_unlock (&adev->pm.mutex);return ret;
drivers/gpu/drm/amd/pm/amdgpu_pm.c +1 -7
@@ -1754,7 +1754,6 @@ static ssize_t amdgpu_get_gpu_metrics(struct device *dev, {struct drm_device *ddev =dev_get_drvdata (dev);struct amdgpu_device *adev =drm_to_adev (ddev); -void *gpu_metrics;ssize_t size =0 ;int ret;
@@ -1762,15 +1761,10 @@ static ssize_t amdgpu_get_gpu_metrics(struct device *dev,if (ret)return ret; - size =amdgpu_dpm_get_gpu_metrics (adev, &gpu_metrics); + size =amdgpu_dpm_get_gpu_metrics (adev, buf,PAGE_SIZE -1 );if (size <=0 ) goto out; -if (size >=PAGE_SIZE ) - size =PAGE_SIZE -1 ; - -memcpy (buf, gpu_metrics, size); - out:amdgpu_pm_put_access (adev);
drivers/gpu/drm/amd/pm/inc/amdgpu_dpm.h +2 -1
@@ -517,7 +517,8 @@ int amdgpu_dpm_get_power_profile_mode(struct amdgpu_device *adev, char *buf);int amdgpu_dpm_set_power_profile_mode (struct amdgpu_device *adev,long *input,uint32_t size); -int amdgpu_dpm_get_gpu_metrics (struct amdgpu_device *adev,void **table); +ssize_t amdgpu_dpm_get_gpu_metrics (struct amdgpu_device *adev,void *buf, +size_t size);ssize_t amdgpu_dpm_get_xcp_metrics (struct amdgpu_device *adev,int xcp_id,void *table); ssize_t amdgpu_dpm_get_temp_metrics(struct amdgpu_device *adev,
drivers/gpu/drm/armada/armada_fbdev.c +1 -11
@@ -45,10 +45,10 @@ int armada_fbdev_driver_fbdev_probe(struct drm_fb_helper *fbh, struct drm_fb_helper_surface_size *sizes) {struct drm_device *dev = fbh->dev; +struct fb_info *info = fbh->info;struct drm_mode_fb_cmd2 mode;struct armada_framebuffer *dfb;struct armada_gem_object *obj; -struct fb_info *info;int size, ret;void *ptr;
@@ -92,12 +92,6 @@ int armada_fbdev_driver_fbdev_probe(struct drm_fb_helper *fbh,if (IS_ERR (dfb))return PTR_ERR (dfb); - info =drm_fb_helper_alloc_info (fbh); -if (IS_ERR (info)) { - ret =PTR_ERR (info); - goto err_fballoc; - } - info->fbops = &armada_fb_ops; info->fix.smem_start = obj->phys_addr; info->fix.smem_len = obj->obj.size;
@@ -113,8 +107,4 @@ int armada_fbdev_driver_fbdev_probe(struct drm_fb_helper *fbh, (unsigned long long)obj->phys_addr);return 0 ; - - err_fballoc: - dfb->fb.funcs->destroy (&dfb->fb); -return ret; }
drivers/gpu/drm/bridge/display-connector.c +8 -3
@@ -40,6 +40,13 @@ static int display_connector_attach(struct drm_bridge *bridge,return flags &DRM_BRIDGE_ATTACH_NO_CONNECTOR ?0 : -EINVAL ; } +static void display_connector_destroy (struct drm_bridge *bridge) +{ +struct display_connector *conn =to_display_connector (bridge); + +i2c_put_adapter (conn->bridge.ddc); +} +static enum drm_connector_status display_connector_detect (struct drm_bridge *bridge) {struct display_connector *conn =to_display_connector (bridge);
@@ -177,6 +184,7 @@ static u32 *display_connector_get_input_bus_fmts(struct drm_bridge *bridge,static const struct drm_bridge_funcs display_connector_bridge_funcs = { .attach = display_connector_attach, + .destroy = display_connector_destroy, .detect = display_connector_bridge_detect, .edid_read = display_connector_edid_read, .atomic_get_output_bus_fmts = display_connector_get_output_bus_fmts,
@@ -403,9 +411,6 @@ static void display_connector_remove(struct platform_device *pdev)regulator_disable (conn->supply);drm_bridge_remove (&conn->bridge); - -if (!IS_ERR (conn->bridge.ddc)) -i2c_put_adapter (conn->bridge.ddc); }static const struct of_device_id display_connector_match[] = {
drivers/gpu/drm/display/drm_dp_helper.c +12 -0
@@ -3457,6 +3457,18 @@ int drm_dp_get_pcon_max_frl_bw(const u8 dpcd[DP_RECEIVER_CAP_SIZE],int bw;u8 buf; +if (!drm_dp_is_branch (dpcd)) +return 0 ; + +if (dpcd[DP_DPCD_REV ] <0x11 ) +return 0 ; + +if ((dpcd[DP_DOWNSTREAMPORT_PRESENT ] &DP_DETAILED_CAP_INFO_AVAILABLE ) ==0 ) +return 0 ; + +if ((port_cap[0 ] &DP_DS_PORT_TYPE_MASK ) !=DP_DS_PORT_TYPE_HDMI ) +return 0 ; + buf = port_cap[2 ]; bw = buf &DP_PCON_MAX_FRL_BW ;
drivers/gpu/drm/drm_exec.c +2 -4
@@ -24,7 +24,6 @@* * struct drm_gem_object *obj; * struct drm_exec exec; -* unsigned long index; * int ret; * * drm_exec_init(&exec, DRM_EXEC_INTERRUPTIBLE_WAIT);
@@ -40,7 +39,7 @@* goto error; * } * -* drm_exec_for_each_locked_object(&exec, index, obj) { +* drm_exec_for_each_locked_object(&exec, obj) { * dma_resv_add_fence(obj->resv, fence, DMA_RESV_USAGE_READ); * ... * }
@@ -56,9 +55,8 @@static void drm_exec_unlock_all (struct drm_exec *exec) {struct drm_gem_object *obj; -unsigned long index; -drm_exec_for_each_locked_object_reverse (exec, index, obj) { +drm_exec_for_each_locked_object_reverse (exec, obj) {dma_resv_unlock (obj->resv);drm_gem_object_put (obj); }
drivers/gpu/drm/drm_fb_helper.c +14 -27
83 lines not on this page · raw message
drivers/gpu/drm/drm_fbdev_dma.c +2 -10
@@ -272,9 +272,9 @@ int drm_fbdev_dma_driver_fbdev_probe(struct drm_fb_helper *fb_helper, {struct drm_client_dev *client = &fb_helper->client;struct drm_device *dev = fb_helper->dev; +struct fb_info *info = fb_helper->info;struct drm_client_buffer *buffer;struct drm_framebuffer *fb; -struct fb_info *info;u32 format;struct iosys_map map;int ret;
@@ -304,12 +304,6 @@ int drm_fbdev_dma_driver_fbdev_probe(struct drm_fb_helper *fb_helper, fb_helper->buffer = buffer; fb_helper->fb = fb; - info =drm_fb_helper_alloc_info (fb_helper); -if (IS_ERR (info)) { - ret =PTR_ERR (info); - goto err_drm_client_buffer_vunmap; - } -drm_fb_helper_fill_info (info, fb_helper, sizes);if (fb->funcs->dirty)
@@ -317,12 +311,10 @@ int drm_fbdev_dma_driver_fbdev_probe(struct drm_fb_helper *fb_helper,else ret =drm_fbdev_dma_driver_fbdev_probe_tail (fb_helper, sizes);if (ret) - goto err_drm_fb_helper_release_info; + goto err_drm_client_buffer_vunmap;return 0 ; -err_drm_fb_helper_release_info: -drm_fb_helper_release_info (fb_helper); err_drm_client_buffer_vunmap: fb_helper->fb =NULL ; fb_helper->buffer =NULL ;
drivers/gpu/drm/drm_fbdev_shmem.c +2 -10
@@ -136,10 +136,10 @@ int drm_fbdev_shmem_driver_fbdev_probe(struct drm_fb_helper *fb_helper, {struct drm_client_dev *client = &fb_helper->client;struct drm_device *dev = fb_helper->dev; +struct fb_info *info = fb_helper->info;struct drm_client_buffer *buffer;struct drm_gem_shmem_object *shmem;struct drm_framebuffer *fb; -struct fb_info *info;u32 format;struct iosys_map map;int ret;
@@ -169,12 +169,6 @@ int drm_fbdev_shmem_driver_fbdev_probe(struct drm_fb_helper *fb_helper, fb_helper->buffer = buffer; fb_helper->fb = fb; - info =drm_fb_helper_alloc_info (fb_helper); -if (IS_ERR (info)) { - ret =PTR_ERR (info); - goto err_drm_client_buffer_vunmap; - } -drm_fb_helper_fill_info (info, fb_helper, sizes); info->fbops = &drm_fbdev_shmem_fb_ops;
@@ -195,12 +189,10 @@ int drm_fbdev_shmem_driver_fbdev_probe(struct drm_fb_helper *fb_helper, info->fbdefio = &fb_helper->fbdefio; ret =fb_deferred_io_init (info);if (ret) - goto err_drm_fb_helper_release_info; + goto err_drm_client_buffer_vunmap;return 0 ; -err_drm_fb_helper_release_info: -drm_fb_helper_release_info (fb_helper); err_drm_client_buffer_vunmap: fb_helper->fb =NULL ; fb_helper->buffer =NULL ;
drivers/gpu/drm/drm_fbdev_ttm.c +2 -10
@@ -176,8 +176,8 @@ int drm_fbdev_ttm_driver_fbdev_probe(struct drm_fb_helper *fb_helper, {struct drm_client_dev *client = &fb_helper->client;struct drm_device *dev = fb_helper->dev; +struct fb_info *info = fb_helper->info;struct drm_client_buffer *buffer; -struct fb_info *info;size_t screen_size;void *screen_buffer;u32 format;
@@ -205,12 +205,6 @@ int drm_fbdev_ttm_driver_fbdev_probe(struct drm_fb_helper *fb_helper, goto err_drm_client_framebuffer_delete; } - info =drm_fb_helper_alloc_info (fb_helper); -if (IS_ERR (info)) { - ret =PTR_ERR (info); - goto err_vfree; - } -drm_fb_helper_fill_info (info, fb_helper, sizes); info->fbops = &drm_fbdev_ttm_fb_ops;
@@ -227,12 +221,10 @@ int drm_fbdev_ttm_driver_fbdev_probe(struct drm_fb_helper *fb_helper, info->fbdefio = &fb_helper->fbdefio; ret =fb_deferred_io_init (info);if (ret) - goto err_drm_fb_helper_release_info; + goto err_vfree;return 0 ; -err_drm_fb_helper_release_info: -drm_fb_helper_release_info (fb_helper); err_vfree:vfree (screen_buffer); err_drm_client_framebuffer_delete:
drivers/gpu/drm/drm_gpusvm.c +9 -3
@@ -1390,6 +1390,14 @@ int drm_gpusvm_get_pages(struct drm_gpusvm *gpusvm, err = -EAGAIN ; goto err_unmap; } + +/* +* Set the dpagemap as soon as the first +* device page is mapped so the err_unmap path +* can device_unmap() the device mappings that +* have already been created. +*/ + svm_pages->dpagemap = dpagemap; } svm_pages->dma_addr[j] = dpagemap->ops->device_map(dpagemap,
@@ -1432,10 +1440,8 @@ int drm_gpusvm_get_pages(struct drm_gpusvm *gpusvm, flags.has_dma_mapping = true; } -if (pagemap) { +if (pagemap) flags.has_devmem_pages = true; - svm_pages->dpagemap = dpagemap; - }/* WRITE_ONCE pairs with READ_ONCE for opportunistic checks */ WRITE_ONCE (svm_pages->flags.__flags, flags.__flags);
drivers/gpu/drm/drm_gpuvm.c +1 -2
@@ -1521,9 +1521,8 @@ drm_gpuvm_resv_add_fence(struct drm_gpuvm *gpuvm, enum dma_resv_usage extobj_usage) {struct drm_gem_object *obj; -unsigned long index; -drm_exec_for_each_locked_object (exec, index, obj) { +drm_exec_for_each_locked_object (exec, obj) {dma_resv_assert_held (obj->resv); dma_resv_add_fence(obj->resv, fence, drm_gpuvm_is_extobj(gpuvm, obj) ?
drivers/gpu/drm/exynos/exynos_drm_fbdev.c +1 -8
@@ -59,18 +59,11 @@ static int exynos_drm_fbdev_update(struct drm_fb_helper *helper,struct drm_fb_helper_surface_size *sizes, struct exynos_drm_gem *exynos_gem) { - struct fb_info *fbi; + struct fb_info *fbi = helper->info;struct drm_framebuffer *fb = helper->fb;unsigned int size = fb->width * fb->height * fb->format->cpp[0 ];unsigned long offset; - fbi =drm_fb_helper_alloc_info (helper); -if (IS_ERR (fbi)) { -DRM_DEV_ERROR (to_dma_dev (helper->dev), -"failed to allocate fb info.\n" ); -return PTR_ERR (fbi); - } - fbi->fbops = &exynos_drm_fb_ops;drm_fb_helper_fill_info (fbi, helper, sizes);
drivers/gpu/drm/gma500/fbdev.c +1 -11
@@ -111,7 +111,7 @@ int psb_fbdev_driver_fbdev_probe(struct drm_fb_helper *fb_helper,struct drm_device *dev = fb_helper->dev;struct drm_psb_private *dev_priv =to_drm_psb_private (dev);struct pci_dev *pdev =to_pci_dev (dev->dev); -struct fb_info *info; +struct fb_info *info = fb_helper->info;struct drm_framebuffer *fb;struct drm_mode_fb_cmd2 mode_cmd = { };int size;
@@ -170,12 +170,6 @@ int psb_fbdev_driver_fbdev_probe(struct drm_fb_helper *fb_helper, fb_helper->funcs = &psb_fbdev_fb_helper_funcs; fb_helper->fb = fb; - info =drm_fb_helper_alloc_info (fb_helper); -if (IS_ERR (info)) { - ret =PTR_ERR (info); - goto err_drm_framebuffer_unregister_private; - } - info->fbops = &psb_fbdev_fb_ops;/* Accessed stolen memory directly */
@@ -199,10 +193,6 @@ int psb_fbdev_driver_fbdev_probe(struct drm_fb_helper *fb_helper,return 0 ; -err_drm_framebuffer_unregister_private: -drm_framebuffer_unregister_private (fb); -drm_framebuffer_cleanup (fb); -kfree (fb); err_drm_gem_object_put:drm_gem_object_put (obj);return ret;
drivers/gpu/drm/i915/display/intel_ddi.c +2 -0
@@ -3502,6 +3502,8 @@ static void intel_ddi_enable_hdmi(struct intel_atomic_state *state, }intel_ddi_buf_enable (encoder, buf_ctl); + +intel_hdmi_poll_for_scrambling_enable (crtc_state, connector); } static void intel_ddi_enable(struct intel_atomic_state *state,
drivers/gpu/drm/i915/display/intel_dp.c +8 -1
@@ -3859,7 +3859,14 @@ static int intel_dp_hdmi_sink_max_frl(struct intel_dp *intel_dp) rate_per_lane = info->hdmi.max_frl_rate_per_lane; max_frl_rate = max_lanes * rate_per_lane; -if (info->hdmi.dsc_cap.v_1p2) { +/* +* The sink's DSC max FRL rate only applies to compressed video +* transport, which requires a DSC 1.2 encoder in the PCON. Without +* one the HDMI link always carries uncompressed video, for which +* the regular max FRL rate is the limit. +*/ +if (drm_dp_pcon_enc_is_dsc_1_2 (intel_dp->pcon_dsc_dpcd) && + info->hdmi.dsc_cap.v_1p2) { max_dsc_lanes = info->hdmi.dsc_cap.max_lanes; dsc_rate_per_lane = info->hdmi.dsc_cap.max_frl_rate_per_lane;if (max_dsc_lanes && dsc_rate_per_lane)
drivers/gpu/drm/i915/display/intel_fbdev.c +1 -8
@@ -242,8 +242,8 @@ int intel_fbdev_driver_fbdev_probe(struct drm_fb_helper *helper,struct intel_display *display =to_intel_display (helper->dev);struct intel_fbdev *ifbdev =to_intel_fbdev (helper);struct intel_framebuffer *fb = ifbdev->fb; +struct fb_info *info = helper->info;struct ref_tracker *wakeref; -struct fb_info *info;struct i915_vma *vma;unsigned long flags =0 ;bool prealloc = false;
@@ -296,13 +296,6 @@ int intel_fbdev_driver_fbdev_probe(struct drm_fb_helper *helper, goto out_unlock; } - info =drm_fb_helper_alloc_info (helper); -if (IS_ERR (info)) { -drm_err (display->drm,"Failed to allocate fb_info (%pe)\n" , info); - ret =PTR_ERR (info); - goto out_unpin; - } - helper->funcs = &intel_fb_helper_funcs; helper->fb = &fb->base;
drivers/gpu/drm/i915/display/intel_hdmi.c +26 -0
@@ -2680,6 +2680,32 @@ intel_hdmi_add_properties(struct intel_hdmi *intel_hdmi, struct drm_connector *_drm_connector_attach_max_bpc_property (&connector->base,8 ,12 ); } +/* +* HDMI 2.0 spec, section 6.1.3.1 (Scrambling Control): after +* enabling Scrambling_Enable and starting scrambled video +* transmission, poll Scrambling_Status for up to 200 ms. +*/ +void +intel_hdmi_poll_for_scrambling_enable (const struct intel_crtc_state *crtc_state, +struct drm_connector *_connector) +{ +struct intel_connector *connector =to_intel_connector (_connector); +struct intel_display *display =to_intel_display (crtc_state); +bool scrambling_enabled = false; +int ret; + +if (!crtc_state->hdmi_scrambling) +return ; + +/* Poll for a max of 200 msec as per HDMI spec */ + ret =poll_timeout_us (scrambling_enabled =drm_scdc_get_scrambling_status (&connector->base), + scrambling_enabled,1000 ,200 *1000 , false); +if (ret) +drm_dbg_kms (display->drm, +"[CONNECTOR:%d:%s] Timed out waiting for scrambling enable\n" , + connector->base.base.id, connector->base.name); +} +/* * intel_hdmi_handle_sink_scrambling: handle sink scrambling/clock ratio setup * @encoder: intel_encoder
drivers/gpu/drm/i915/display/intel_hdmi.h +2 -0
@@ -69,5 +69,7 @@ void hsw_read_infoframe(struct intel_encoder *encoder,const struct intel_crtc_state *crtc_state, unsigned int type, void *frame, ssize_t len); +void intel_hdmi_poll_for_scrambling_enable (const struct intel_crtc_state *crtc_state, +struct drm_connector *_connector);#endif /* __INTEL_HDMI_H__ */
drivers/gpu/drm/i915/display/intel_vrr.c +8 -2
@@ -22,6 +22,9 @@ bool intel_vrr_is_capable(struct intel_connector *connector)const struct drm_display_info *info = &connector->base.display_info;struct intel_dp *intel_dp; +if (!HAS_VRR (display)) +return false; +/* * DP Sink is capable of VRR video timings if * Ignore MSA bit is set in DPCD.
@@ -46,8 +49,11 @@ bool intel_vrr_is_capable(struct intel_connector *connector)return false; } -return HAS_VRR (display) && - info->monitor_range.max_vfreq - info->monitor_range.min_vfreq >10 ; +if (!info->monitor_range.min_vfreq || !info->monitor_range.max_vfreq || + info->monitor_range.min_vfreq > info->monitor_range.max_vfreq) +return false; + +return info->monitor_range.max_vfreq - info->monitor_range.min_vfreq >10 ; }bool intel_vrr_is_in_range (struct intel_connector *connector,int vrefresh)
drivers/gpu/drm/mediatek/mtk_crtc.c +3 -3
@@ -153,10 +153,10 @@ static void mtk_crtc_reset(struct drm_crtc *crtc) {struct mtk_crtc_state *state; -if (crtc->state) +if (crtc->state) {__drm_atomic_helper_crtc_destroy_state (crtc->state); - -kfree (to_mtk_crtc_state (crtc->state)); +kfree (to_mtk_crtc_state (crtc->state)); + } crtc->state =NULL ; state =kzalloc (sizeof (*state),GFP_KERNEL );
drivers/gpu/drm/mediatek/mtk_disp_ovl_adaptor.c +6 -1
@@ -625,6 +625,7 @@ static void mtk_disp_ovl_adaptor_master_unbind(struct device *dev)struct mtk_disp_ovl_adaptor *priv =dev_get_drvdata (dev); priv->children_bound = false; +component_unbind_all (dev, priv->mmsys_dev); }static const struct component_master_ops mtk_disp_ovl_adaptor_master_ops = {
@@ -651,12 +652,15 @@ static int mtk_disp_ovl_adaptor_probe(struct platform_device *pdev) priv->mmsys_dev = pdev->dev.platform_data; -component_master_add_with_match (dev, &mtk_disp_ovl_adaptor_master_ops, match); + ret =component_master_add_with_match (dev, &mtk_disp_ovl_adaptor_master_ops, match); +if (ret) +return dev_err_probe (dev, ret,"Failed to add component master\n" );pm_runtime_enable (dev); ret =component_add (dev, &mtk_disp_ovl_adaptor_comp_ops);if (ret !=0 ) { +component_master_del (dev, &mtk_disp_ovl_adaptor_master_ops);pm_runtime_disable (dev);return dev_err_probe (dev, ret,"Failed to add component\n" ); }
@@ -666,6 +670,7 @@ static int mtk_disp_ovl_adaptor_probe(struct platform_device *pdev)static void mtk_disp_ovl_adaptor_remove (struct platform_device *pdev) { +component_del (&pdev->dev, &mtk_disp_ovl_adaptor_comp_ops);component_master_del (&pdev->dev, &mtk_disp_ovl_adaptor_master_ops);pm_runtime_disable (&pdev->dev); }
drivers/gpu/drm/msm/msm_fbdev.c +1 -8
@@ -93,9 +93,9 @@ int msm_fbdev_driver_fbdev_probe(struct drm_fb_helper *helper, {struct drm_device *dev = helper->dev;struct msm_drm_private *priv = dev->dev_private; +struct fb_info *fbi = helper->info;struct drm_framebuffer *fb =NULL ;struct drm_gem_object *bo; -struct fb_info *fbi =NULL ;uint64_t paddr;uint32_t format;int ret, pitch;
@@ -128,13 +128,6 @@ int msm_fbdev_driver_fbdev_probe(struct drm_fb_helper *helper, goto fail; } - fbi =drm_fb_helper_alloc_info (helper); -if (IS_ERR (fbi)) { -DRM_DEV_ERROR (dev->dev,"failed to allocate fb info\n" ); - ret =PTR_ERR (fbi); - goto fail; - } -DBG ("fbi=%p, dev=%p" , fbi, dev); helper->funcs = &msm_fbdev_helper_funcs;
drivers/gpu/drm/omapdrm/omap_fbdev.c +1 -8
@@ -155,9 +155,9 @@ int omap_fbdev_driver_fbdev_probe(struct drm_fb_helper *helper,struct drm_device *dev = helper->dev;struct omap_drm_private *priv = dev->dev_private;struct omap_fbdev *fbdev = priv->fbdev; +struct fb_info *fbi = helper->info;struct drm_framebuffer *fb =NULL ;union omap_gem_size gsize; -struct fb_info *fbi =NULL ;struct drm_mode_fb_cmd2 mode_cmd = {0 };struct drm_gem_object *bo;dma_addr_t dma_addr;
@@ -226,13 +226,6 @@ int omap_fbdev_driver_fbdev_probe(struct drm_fb_helper *helper, goto fail; } - fbi =drm_fb_helper_alloc_info (helper); -if (IS_ERR (fbi)) { -dev_err (dev->dev,"failed to allocate fb info\n" ); - ret =PTR_ERR (fbi); - goto fail; - } -DBG ("fbi=%p, dev=%p" , fbi, dev); helper->funcs = &omap_fbdev_helper_funcs;
drivers/gpu/drm/panthor/panthor_fw.c +33 -14
101 lines not on this page · raw message
drivers/gpu/drm/radeon/radeon_fbdev.c +1 -12
@@ -206,7 +206,7 @@ int radeon_fbdev_driver_fbdev_probe(struct drm_fb_helper *fb_helper,struct radeon_device *rdev = fb_helper->dev->dev_private;const struct drm_format_info *format_info;struct drm_mode_fb_cmd2 mode_cmd = { }; -struct fb_info *info; +struct fb_info *info = fb_helper->info;struct drm_gem_object *gobj;struct radeon_bo *rbo;struct drm_framebuffer *fb;
@@ -247,13 +247,6 @@ int radeon_fbdev_driver_fbdev_probe(struct drm_fb_helper *fb_helper, fb_helper->funcs = &radeon_fbdev_fb_helper_funcs; fb_helper->fb = fb; -/* okay we have an object now allocate the framebuffer */ - info =drm_fb_helper_alloc_info (fb_helper); -if (IS_ERR (info)) { - ret =PTR_ERR (info); - goto err_drm_framebuffer_unregister_private; - } - info->fbops = &radeon_fbdev_fb_ops;/* radeon resume is fragile and needs a vt switch to help it along */
@@ -279,10 +272,6 @@ int radeon_fbdev_driver_fbdev_probe(struct drm_fb_helper *fb_helper,return 0 ; -err_drm_framebuffer_unregister_private: - fb_helper->fb =NULL ; -drm_framebuffer_unregister_private (fb); -drm_framebuffer_cleanup (fb); err_kfree:kfree (fb); err_radeon_fbdev_destroy_pinned_object:
drivers/gpu/drm/tegra/fbdev.c +3 -15
@@ -75,10 +75,9 @@ int tegra_fbdev_driver_fbdev_probe(struct drm_fb_helper *helper,struct tegra_drm *tegra = helper->dev->dev_private;struct drm_device *drm = helper->dev;struct drm_mode_fb_cmd2 cmd = {0 }; +struct fb_info *info = helper->info;unsigned int bytes_per_pixel;struct drm_framebuffer *fb; -unsigned long offset; -struct fb_info *info;struct tegra_bo *bo;size_t size;int err;
@@ -99,13 +98,6 @@ int tegra_fbdev_driver_fbdev_probe(struct drm_fb_helper *helper,if (IS_ERR (bo))return PTR_ERR (bo); - info =drm_fb_helper_alloc_info (helper); -if (IS_ERR (info)) { -dev_err (drm->dev,"failed to allocate framebuffer info\n" ); -drm_gem_object_put (&bo->gem); -return PTR_ERR (info); - } - fb =tegra_fb_alloc (drm,drm_get_format_info (drm, cmd.pixel_format, cmd.modifier[0 ]), &cmd, &bo,1 );
@@ -119,15 +111,11 @@ int tegra_fbdev_driver_fbdev_probe(struct drm_fb_helper *helper, helper->funcs = &tegra_fbdev_helper_funcs; helper->fb = fb; - helper->info = info; info->fbops = &tegra_fb_ops;drm_fb_helper_fill_info (info, helper, sizes); - offset = info->var.xoffset * bytes_per_pixel + - info->var.yoffset * fb->pitches[0 ]; -if (bo->pages) { bo->vaddr =vmap (bo->pages, bo->num_pages,VM_MAP ,pgprot_writecombine (PAGE_KERNEL ));
@@ -139,9 +127,9 @@ int tegra_fbdev_driver_fbdev_probe(struct drm_fb_helper *helper, } info->flags |=FBINFO_VIRTFB ; - info->screen_buffer = bo->vaddr + offset; + info->screen_buffer = bo->vaddr; info->screen_size = size; - info->fix.smem_start = (unsigned long )(bo->iova + offset); + info->fix.smem_start = (unsigned long )(bo->iova); info->fix.smem_len = size;return 0 ;
drivers/gpu/drm/vc4/vc4_irq.c +1 -1
@@ -104,7 +104,7 @@ vc4_overflow_mem_work(struct work_struct *work) vc4->bin_alloc_overflow =BIT (bin_bo_slot);V3D_WRITE (V3D_BPOA , bo->base.dma_addr + bin_bo_slot * vc4->bin_alloc_size); -V3D_WRITE (V3D_BPOS , bo->base.base.size); +V3D_WRITE (V3D_BPOS , vc4->bin_alloc_size);V3D_WRITE (V3D_INTCTL ,V3D_INT_OUTOMEM );V3D_WRITE (V3D_INTENA ,V3D_INT_OUTOMEM );spin_unlock_irqrestore (&vc4->job_lock, irqflags);
drivers/gpu/drm/vc4/vc4_validate.c +23 -6
@@ -384,6 +384,23 @@ validate_tile_binning_config(VALIDATE_ARGS)return -EINVAL ; } +/* The tile state data array is 48 bytes per tile, and we put it at +* the start of a BO containing both it and the tile alloc. +*/ + tile_state_size =48 * tile_count; + +/* Since the tile alloc array will follow us, align. */ + tile_state_size =roundup (tile_state_size,4096 ); + +/* Reject configurations whose tile state would leave no room for +* the tile alloc pool that follows it in the slot. +*/ +if (tile_state_size >= vc4->bin_alloc_size) { +DRM_DEBUG ("Tile binning config of %dx%d too large\n" , + exec->bin_tiles_x, exec->bin_tiles_y); +return -EINVAL ; + } + bin_slot =vc4_v3d_get_bin_slot (vc4);if (bin_slot <0 ) {if (bin_slot != -EINTR && bin_slot != -ERESTARTSYS ) {
@@ -399,13 +416,13 @@ validate_tile_binning_config(VALIDATE_ARGS) exec->bin_slots |=BIT (bin_slot); bin_addr = vc4->bin_bo->base.dma_addr + bin_slot * vc4->bin_alloc_size; -/* The tile state data array is 48 bytes per tile, and we put it at -* the start of a BO containing both it and the tile alloc. -*/ - tile_state_size =48 * tile_count; + exec->tile_alloc_offset = bin_addr + tile_state_size; -/* Since the tile alloc array will follow us, align. */ - exec->tile_alloc_offset = bin_addr +roundup (tile_state_size,4096 ); +/* The TSDA area must be zeroed out before use, otherwise the PTB might +* consume a stale tile state. +*/ +memset (vc4->bin_bo->base.vaddr + bin_slot * vc4->bin_alloc_size,0 , + tile_state_size); *(uint8_t *)(validated + 14) = ((flags & ~(VC4_BIN_CONFIG_ALLOC_INIT_BLOCK_SIZE_MASK |
drivers/gpu/drm/vmwgfx/ttm_object.c +5 -2
@@ -547,14 +547,17 @@ int ttm_prime_fd_to_handle(struct ttm_object_file *tfile,if (IS_ERR (dma_buf))return PTR_ERR (dma_buf); -if (dma_buf->ops != &tdev->ops) -return -ENOSYS ; +if (dma_buf->ops != &tdev->ops) { + ret = -ENOSYS ; + goto out; + } prime = (struct ttm_prime_object *) dma_buf->priv; base = &prime->base; *handle = base->handle; ret =ttm_ref_object_add (tfile, base,NULL , false); +out:dma_buf_put (dma_buf);return ret;
drivers/gpu/drm/vmwgfx/vmwgfx_blit.c +31 -8
@@ -30,6 +30,7 @@#include "vmwgfx_bo.h" #include <linux/highmem.h> +#include <linux/overflow.h> /* * Template that implements find_first_diff() for a generic
@@ -463,19 +464,42 @@ static int vmw_external_bo_copy(struct vmw_bo *dst, u32 dst_offset, container_of(dst->tbo.bdev, struct vmw_private, bdev);size_t dst_size = dst->tbo.resource->size;size_t src_size = src->tbo.resource->size; +size_t dst_end, src_end;struct iosys_map dst_map = {0 };struct iosys_map src_map = {0 }; +bool dst_mapped = false; +bool src_mapped = false;int ret, i;int x_in_bytes;u8 *vsrc;u8 *vdst; +if (!height || !width_in_bytes) +return 0 ; + +if (!dst_stride || !src_stride) +return -EINVAL ; +if (dst_stride < width_in_bytes || src_stride < width_in_bytes) +return -EINVAL ; +if (check_mul_overflow ((size_t )dst_stride, (size_t )height -1 , &dst_end) || +check_add_overflow (dst_end, (size_t )width_in_bytes, &dst_end) || +check_add_overflow ((size_t )dst_offset, dst_end, &dst_end) || + dst_end > dst_size || +check_mul_overflow ((size_t )src_stride, (size_t )height -1 , &src_end) || +check_add_overflow (src_end, (size_t )width_in_bytes, &src_end) || +check_add_overflow ((size_t )src_offset, src_end, &src_end) || + src_end > src_size) { +drm_dbg_driver (&vmw->drm,"Out-of-bounds external BO copy\n" ); +return -EINVAL ; + } + vsrc =map_external (src, &src_map);if (!vsrc) {drm_dbg_driver (&vmw->drm,"Wasn't able to map src\n" ); ret = -ENOMEM ; goto out; } + src_mapped = true; vdst =map_external (dst, &dst_map);if (!vdst) {
@@ -483,16 +507,13 @@ static int vmw_external_bo_copy(struct vmw_bo *dst, u32 dst_offset, ret = -ENOMEM ; goto out; } + dst_mapped = true; vsrc += src_offset; vdst += dst_offset; -if (src_stride == dst_stride) { - dst_size -= dst_offset; - src_size -= src_offset; -memcpy (vdst, vsrc, -min (dst_stride * height,min (dst_size, src_size))); +if (src_stride == dst_stride && width_in_bytes == dst_stride) { +memcpy (vdst, vsrc, dst_stride * (size_t )height); }else { -WARN_ON (dst_stride < width_in_bytes);for (i =0 ; i < height; ++i) {memcpy (vdst, vsrc, width_in_bytes); vsrc += src_stride;
@@ -508,8 +529,10 @@ static int vmw_external_bo_copy(struct vmw_bo *dst, u32 dst_offset, ret =0 ; out: -unmap_external (src, &src_map); -unmap_external (dst, &dst_map); +if (src_mapped) +unmap_external (src, &src_map); +if (dst_mapped) +unmap_external (dst, &dst_map);return ret; }
drivers/gpu/drm/vmwgfx/vmwgfx_cursor_plane.c +44 -5
76 lines not on this page · raw message
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c +18 -2
@@ -1272,9 +1272,13 @@ static int vmw_cmd_dx_bind_query(struct vmw_private *dev_priv, SVGA3dCmdHeader *header) {VMW_DECLARE_CMD_VAR (*cmd, SVGA3dCmdDXBindQuery); +struct vmw_ctx_validation_info *ctx_node =VMW_GET_CTX_NODE (sw_context);struct vmw_bo *vmw_bo;int ret; +if (!ctx_node) +return -EINVAL ; + cmd =container_of (header,typeof (*cmd), header);/*
@@ -1288,7 +1292,7 @@ static int vmw_cmd_dx_bind_query(struct vmw_private *dev_priv,return ret; sw_context->dx_query_mob = vmw_bo; - sw_context->dx_query_ctx = sw_context->dx_ctx_node->ctx; + sw_context->dx_query_ctx = ctx_node->ctx;return 0 ; }
@@ -1506,6 +1510,12 @@ static int vmw_cmd_dma(struct vmw_private *dev_priv,bool dirty; cmd =container_of (header,typeof (*cmd), header); + +if (unlikely (header->size <sizeof (cmd->body) +sizeof (*suffix))) { +VMW_DEBUG_USER ("Illegal SVGA_3D_CMD_SURFACE_DMA size.\n" ); +return -EINVAL ; + } + suffix = (SVGA3dCmdSurfaceDMASuffix *)((unsigned long ) &cmd->body + header->size -sizeof (*suffix));
@@ -1567,11 +1577,17 @@ static int vmw_cmd_draw(struct vmw_private *dev_priv,uint32_t maxnum;int ret; + cmd =container_of (header,typeof (*cmd), header); + +if (unlikely (header->size <sizeof (cmd->body))) { +VMW_DEBUG_USER ("Illegal DRAW_PRIMITIVES header size.\n" ); +return -EINVAL ; + } + ret =vmw_cmd_cid_check (dev_priv, sw_context, header);if (unlikely (ret !=0 ))return ret; - cmd =container_of (header,typeof (*cmd), header); maxnum = (header->size -sizeof (cmd->body)) /sizeof (*decl);if (unlikely (cmd->body.numVertexDecls > maxnum)) {
drivers/gpu/drm/vmwgfx/vmwgfx_fence.c +12 -1
@@ -366,13 +366,24 @@ void vmw_fence_fifo_down(struct vmw_fence_manager *fman) ret =vmw_fence_obj_wait (fence, false, false,VMW_FENCE_WAIT_TIMEOUT );
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/vmwgfx/vmwgfx_page_dirty.c +2 -2
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/vmwgfx/vmwgfx_resource.c +2 -2
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/xe/xe_bo.h +56 -0
56 lines not on this page · raw message
drivers/gpu/drm/xe/xe_hw_engine_types.h +8 -0
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/xe/xe_migrate.c +63 -27
90 lines not on this page · raw message
drivers/gpu/drm/xe/xe_pagefault.c new file +65 -0
65 lines not on this page · raw message
drivers/gpu/drm/xe/xe_pagefault.h new file +19 -0
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/xe/xe_pagefault_types.h new file +136 -0
136 lines not on this page · raw message
drivers/gpu/drm/xe/xe_reg_whitelist.c +97 -22
119 lines not on this page · raw message
drivers/gpu/drm/xe/xe_vm.c +89 -18
107 lines not on this page · raw message
drivers/hv/hv.c +105 -101
206 lines not on this page · raw message
drivers/hv/mshv_eventfd.c +30 -13
43 lines not on this page · raw message
drivers/hwmon/adt7470.c +92 -37
129 lines not on this page · raw message
drivers/hwmon/ina2xx.c +80 -27
107 lines not on this page · raw message
drivers/i2c/busses/i2c-imx.c +49 -5
54 lines not on this page · raw message
drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3-iommufd.c +15 -0
Lines of this file are not shown. View the raw message.
drivers/media/platform/chips-media/wave5/wave5-hw.c +3 -0
Lines of this file are not shown. View the raw message.
drivers/media/platform/chips-media/wave5/wave5-vpu-enc.c +4 -1
Lines of this file are not shown. View the raw message.
drivers/media/platform/chips-media/wave5/wave5-vpuapi.h +1 -0
Lines of this file are not shown. View the raw message.
drivers/media/platform/qcom/camss/camss-csid-340.c +13 -15
Lines of this file are not shown. View the raw message.
drivers/net/can/ctucanfd/ctucanfd_base.c +9 -5
Lines of this file are not shown. View the raw message.
drivers/net/can/ctucanfd/ctucanfd_pci.c +2 -1
Lines of this file are not shown. View the raw message.
drivers/net/can/softing/softing_fw.c +32 -14
46 lines not on this page · raw message
drivers/net/can/usb/ems_usb.c +43 -0
43 lines not on this page · raw message
drivers/net/can/usb/etas_es58x/es58x_core.c +0 -1
Lines of this file are not shown. View the raw message.
drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c +1 -0
Lines of this file are not shown. View the raw message.
drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c +11 -2
Lines of this file are not shown. View the raw message.
drivers/net/can/usb/peak_usb/pcan_usb_core.c +0 -1
Lines of this file are not shown. View the raw message.
drivers/net/can/usb/peak_usb/pcan_usb_fd.c +39 -1
Lines of this file are not shown. View the raw message.
drivers/net/can/usb/peak_usb/pcan_usb_pro.c +16 -4
Lines of this file are not shown. View the raw message.
drivers/net/dsa/mt7530.c +20 -38
58 lines not on this page · raw message
drivers/net/ethernet/intel/e1000/e1000_main.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/ice/ice_dpll.c +12 -7
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/ice/ice_ethtool.c +5 -5
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/ice/ice_main.c +10 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/ice/ice_vf_lib.c +27 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/ice/ice_vf_lib_private.h +1 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/ice/virt/queues.c +21 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/idpf/idpf_lib.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/idpf/idpf_txrx.c +1 -4
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/idpf/idpf_txrx.h +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/igbvf/netdev.c +0 -2
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/igc/igc_main.c +1 -2
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/mediatek/mtk_eth_soc.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/nvidia/forcedeth.c +2 -2
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/qlogic/qede/qede_main.c +22 -22
44 lines not on this page · raw message
drivers/net/ethernet/realtek/rtase/rtase_main.c +3 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c +8 -6
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/wangxun/libwx/wx_lib.c +2 -0
Lines of this file are not shown. View the raw message.
drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c +13 -0
Lines of this file are not shown. View the raw message.
drivers/net/wireless/broadcom/brcm80211/brcmfmac/bus.h +6 -0
Lines of this file are not shown. View the raw message.
drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c +42 -4
46 lines not on this page · raw message
drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c +6 -0
Lines of this file are not shown. View the raw message.
drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c +6 -0
Lines of this file are not shown. View the raw message.
drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.h +1 -0
Lines of this file are not shown. View the raw message.
drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c +3 -0
Lines of this file are not shown. View the raw message.
drivers/net/wireless/marvell/mwifiex/11n_rxreorder.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/phy/qualcomm/phy-qcom-m31-eusb2.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/phy/xilinx/phy-zynqmp.c +45 -17
62 lines not on this page · raw message
drivers/pinctrl/qcom/pinctrl-sc8280xp.c +11 -10
Lines of this file are not shown. View the raw message.
drivers/power/supply/max17040_battery.c +5 -1
Lines of this file are not shown. View the raw message.
drivers/s390/crypto/zcrypt_ccamisc.c +73 -16
89 lines not on this page · raw message
drivers/spi/spi-cadence.c +108 -21
129 lines not on this page · raw message
drivers/spi/spi-nxp-fspi.c +80 -3
83 lines not on this page · raw message
drivers/target/target_core_transport.c +10 -2
Lines of this file are not shown. View the raw message.
drivers/ufs/core/ufshcd.c +7 -34
41 lines not on this page · raw message
drivers/usb/typec/ucsi/ucsi.c +47 -43
90 lines not on this page · raw message
include/linux/file.h +125 -0
125 lines not on this page · raw message
include/linux/netfilter/nf_conntrack_sip.h +1 -1
Lines of this file are not shown. View the raw message.
include/net/bluetooth/hci.h +54 -0
54 lines not on this page · raw message
include/net/ip_vs.h +37 -8
45 lines not on this page · raw message
include/net/netfilter/nf_conntrack_expect.h +4 -1
Lines of this file are not shown. View the raw message.
mm/slub.c +24 -52
76 lines not on this page · raw message
net/bluetooth/hci_event.c +69 -10
79 lines not on this page · raw message
net/bluetooth/hci_sync.c +104 -36
140 lines not on this page · raw message
net/bluetooth/iso.c +210 -91
301 lines not on this page · raw message
net/bluetooth/mgmt.c +76 -20
96 lines not on this page · raw message
net/can/isotp.c +239 -94
333 lines not on this page · raw message
net/handshake/netlink.c +26 -30
56 lines not on this page · raw message
net/handshake/request.c +51 -14
65 lines not on this page · raw message
net/netfilter/ipvs/ip_vs_core.c +87 -93
180 lines not on this page · raw message
net/netfilter/ipvs/ip_vs_proto_tcp.c +10 -38
48 lines not on this page · raw message
net/netfilter/ipvs/ip_vs_proto_udp.c +13 -41
54 lines not on this page · raw message
net/netfilter/ipvs/ip_vs_xmit.c +30 -12
42 lines not on this page · raw message
net/xdp/xsk.c +55 -16
71 lines not on this page · raw message
security/keys/trusted-keys/trusted_dcp.c +11 -4
Lines of this file are not shown. View the raw message.
tools/testing/kunit/kunit_tool_test.py +42 -0
42 lines not on this page · raw message
tools/testing/selftests/clone3/clone3_set_tid.c +1 -1
Lines of this file are not shown. View the raw message.
tools/testing/selftests/filesystems/fclog.c +1 -3
Lines of this file are not shown. View the raw message.
tools/testing/selftests/lkdtm/tests.txt +1 -1
Lines of this file are not shown. View the raw message.
tools/testing/selftests/mm/mlock-random-test.c +1 -1
Lines of this file are not shown. View the raw message.
tools/testing/selftests/net/af_unix/.gitignore new file +9 -0
Lines of this file are not shown. View the raw message.
tools/testing/selftests/net/af_unix/Makefile +2 -0
Lines of this file are not shown. View the raw message.
tools/testing/selftests/net/af_unix/unix_connreset.c new file +177 -0
177 lines not on this page · raw message
tools/testing/selftests/net/af_unix/unix_listen.c new file +187 -0
187 lines not on this page · raw message
tools/testing/selftests/seccomp/seccomp_bpf.c +2 -1
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
Part of the diff is not shown here. View the raw message.
Greg Kroah-Hartman
maintainerI'm announcing the release of the 6.18.44 kernel.
All users of the 6.18 kernel series must upgrade.
The updated 6.18.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-6.18.y
and can be browsed at the normal kernel.org git web browser:
https://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=summary
thanks,
greg k-h
------------
Documentation/hwmon/ina2xx.rst | 25 - Documentation/virt/kvm/api.rst | 6 Makefile | 2 arch/arm64/kvm/arm.c | 25 - arch/arm64/kvm/mmu.c | 4 arch/powerpc/boot/simpleboot.c | 2 arch/powerpc/boot/treeboot-akebono.c | 2 arch/powerpc/boot/treeboot-currituck.c | 2 arch/powerpc/platforms/ps3/mm.c | 1 arch/riscv/kernel/unaligned_access_speed.c | 4 arch/riscv/mm/init.c | 4 arch/s390/kvm/pci.c | 78 ++- arch/s390/kvm/pci.h | 2 arch/s390/pci/pci_mmio.c | 1 arch/um/drivers/vector_kern.c | 3 arch/x86/boot/string.c | 11 arch/x86/kernel/cpu/mshyperv.c | 28 - arch/x86/kvm/svm/avic.c | 8 arch/x86/kvm/vmx/vmx_ops.h | 8 drivers/accel/qaic/qaic_control.c | 2 drivers/ata/ahci_ceva.c | 18 drivers/ata/libata-eh.c | 8 drivers/ata/libata-sata.c | 2 drivers/ata/sata_mv.c | 2 drivers/block/ublk_drv.c | 9 drivers/bluetooth/btintel.c | 3 drivers/bluetooth/btmtk.c | 50 -- drivers/bluetooth/btusb.c | 30 - drivers/cpufreq/powernow-k8.c | 1 drivers/dibs/dibs_loopback.c | 47 + drivers/dma/idxd/cdev.c | 4 drivers/dma/sun6i-dma.c | 11 drivers/gpio/gpio-pca953x.c | 15 drivers/gpio/gpio-pch.c | 28 - drivers/gpio/gpio-sloppy-logic-analyzer.c | 10 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 39 - drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c | 71 +- drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 15 drivers/gpu/drm/amd/amdgpu/amdgpu_eviction_fence.c | 3 drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.c | 30 + drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 12 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c | 10 drivers/gpu/drm/amd/amdkfd/kfd_events.c | 23 drivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.c | 2 drivers/gpu/drm/amd/amdkfd/kfd_queue.c | 2 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 243 +++++++--- drivers/gpu/drm/amd/display/dc/core/dc.c | 45 + drivers/gpu/drm/amd/display/dc/dc.h | 1 drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.c | 20 drivers/gpu/drm/amd/display/dc/hwss/dcn30/dcn30_hwseq.c | 16 drivers/gpu/drm/amd/pm/amdgpu_dpm.c | 12 drivers/gpu/drm/amd/pm/amdgpu_pm.c | 8 drivers/gpu/drm/amd/pm/inc/amdgpu_dpm.h | 3 drivers/gpu/drm/armada/armada_fbdev.c | 12 drivers/gpu/drm/bridge/display-connector.c | 11 drivers/gpu/drm/display/drm_dp_helper.c | 12 drivers/gpu/drm/drm_exec.c | 6 drivers/gpu/drm/drm_fb_helper.c | 41 - drivers/gpu/drm/drm_fbdev_dma.c | 12 drivers/gpu/drm/drm_fbdev_shmem.c | 12 drivers/gpu/drm/drm_fbdev_ttm.c | 12 drivers/gpu/drm/drm_gpusvm.c | 12 drivers/gpu/drm/drm_gpuvm.c | 3 drivers/gpu/drm/exynos/exynos_drm_fbdev.c | 9 drivers/gpu/drm/gma500/fbdev.c | 12 drivers/gpu/drm/i915/display/intel_ddi.c | 2 drivers/gpu/drm/i915/display/intel_dp.c | 9 drivers/gpu/drm/i915/display/intel_fbdev.c | 9 drivers/gpu/drm/i915/display/intel_hdmi.c | 26 + drivers/gpu/drm/i915/display/intel_hdmi.h | 2 drivers/gpu/drm/i915/display/intel_vrr.c | 10 drivers/gpu/drm/mediatek/mtk_crtc.c | 6 drivers/gpu/drm/mediatek/mtk_disp_ovl_adaptor.c | 7 drivers/gpu/drm/msm/msm_fbdev.c | 9 drivers/gpu/drm/omapdrm/omap_fbdev.c | 9 drivers/gpu/drm/panthor/panthor_fw.c | 47 + drivers/gpu/drm/radeon/radeon_fbdev.c | 13 drivers/gpu/drm/tegra/fbdev.c | 18 drivers/gpu/drm/vc4/vc4_irq.c | 2 drivers/gpu/drm/vc4/vc4_validate.c | 29 - drivers/gpu/drm/vmwgfx/ttm_object.c | 7 drivers/gpu/drm/vmwgfx/vmwgfx_blit.c | 39 + drivers/gpu/drm/vmwgfx/vmwgfx_cursor_plane.c | 49 +- drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c | 20 drivers/gpu/drm/vmwgfx/vmwgfx_fence.c | 13 drivers/gpu/drm/vmwgfx/vmwgfx_page_dirty.c | 4 drivers/gpu/drm/vmwgfx/vmwgfx_resource.c | 4 drivers/gpu/drm/vmwgfx/vmwgfx_shader.c | 13 drivers/gpu/drm/vmwgfx/vmwgfx_vkms.c | 17 drivers/gpu/drm/xe/Makefile | 1 drivers/gpu/drm/xe/xe_bo.h | 56 ++ drivers/gpu/drm/xe/xe_bo_types.h | 6 drivers/gpu/drm/xe/xe_device_types.h | 2 drivers/gpu/drm/xe/xe_exec.c | 22 drivers/gpu/drm/xe/xe_gt_debugfs.c | 4 drivers/gpu/drm/xe/xe_guc_capture.c | 11 drivers/gpu/drm/xe/xe_hw_engine.c | 2 drivers/gpu/drm/xe/xe_hw_engine_types.h | 8 drivers/gpu/drm/xe/xe_migrate.c | 90 ++- drivers/gpu/drm/xe/xe_migrate.h | 4 drivers/gpu/drm/xe/xe_oa.c | 7 drivers/gpu/drm/xe/xe_oa_types.h | 3 drivers/gpu/drm/xe/xe_pagefault.c | 65 ++ drivers/gpu/drm/xe/xe_pagefault.h | 19 drivers/gpu/drm/xe/xe_pagefault_types.h | 136 +++++ drivers/gpu/drm/xe/xe_pat.c | 6 drivers/gpu/drm/xe/xe_pat.h | 10 drivers/gpu/drm/xe/xe_pci.c | 1 drivers/gpu/drm/xe/xe_pci_types.h | 1 drivers/gpu/drm/xe/xe_pt.c | 31 - drivers/gpu/drm/xe/xe_reg_whitelist.c | 119 ++++- drivers/gpu/drm/xe/xe_reg_whitelist.h | 4 drivers/gpu/drm/xe/xe_vm.c | 107 +++- drivers/hid/hid-logitech-dj.c | 28 - drivers/hv/channel_mgmt.c | 6 drivers/hv/hv.c | 206 ++++---- drivers/hv/hyperv_vmbus.h | 22 drivers/hv/mshv_eventfd.c | 43 + drivers/hv/mshv_irq.c | 6 drivers/hv/mshv_portid_table.c | 6 drivers/hv/mshv_root.h | 2 drivers/hv/mshv_root_hv_call.c | 6 drivers/hv/mshv_root_main.c | 8 drivers/hv/mshv_synic.c | 6 drivers/hv/vmbus_drv.c | 19 drivers/hwmon/Kconfig | 2 drivers/hwmon/adt7470.c | 129 +++-- drivers/hwmon/ina2xx.c | 107 +++- drivers/hwmon/lm90.c | 4 drivers/hwmon/ltc4282.c | 4 drivers/hwmon/nct6775-core.c | 20 drivers/hwmon/npcm750-pwm-fan.c | 11 drivers/hwmon/nzxt-smart2.c | 2 drivers/hwmon/pmbus/pmbus_core.c | 7 drivers/hwmon/sht3x.c | 9 drivers/i2c/busses/i2c-amd-mp2-plat.c | 4 drivers/i2c/busses/i2c-bcm-iproc.c | 11 drivers/i2c/busses/i2c-imx.c | 54 ++ drivers/i2c/busses/i2c-jz4780.c | 5 drivers/i2c/busses/i2c-k1.c | 10 drivers/i2c/busses/i2c-qcom-cci.c | 18 drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3-iommufd.c | 15 drivers/iommu/io-pgfault.c | 24 - drivers/iommu/iommufd/device.c | 2 drivers/iommu/iommufd/eventq.c | 2 drivers/iommu/iommufd/viommu.c | 22 drivers/media/platform/chips-media/wave5/wave5-hw.c | 3 drivers/media/platform/chips-media/wave5/wave5-vpu-enc.c | 5 drivers/media/platform/chips-media/wave5/wave5-vpuapi.h | 1 drivers/media/platform/qcom/camss/camss-csid-340.c | 28 - drivers/net/can/c_can/c_can_main.c | 8 drivers/net/can/ctucanfd/ctucanfd_base.c | 14 drivers/net/can/ctucanfd/ctucanfd_pci.c | 3 drivers/net/can/dev/skb.c | 2 drivers/net/can/softing/softing_fw.c | 46 + drivers/net/can/usb/ems_usb.c | 43 + drivers/net/can/usb/etas_es58x/es58x_core.c | 1 drivers/net/can/usb/gs_usb.c | 4 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c | 1 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c | 13 drivers/net/can/usb/peak_usb/pcan_usb_core.c | 1 drivers/net/can/usb/peak_usb/pcan_usb_fd.c | 40 + drivers/net/can/usb/peak_usb/pcan_usb_pro.c | 20 drivers/net/dsa/mt7530-mdio.c | 11 drivers/net/dsa/mt7530.c | 58 -- drivers/net/ethernet/intel/e1000/e1000_main.c | 2 drivers/net/ethernet/intel/ice/ice_dpll.c | 19 drivers/net/ethernet/intel/ice/ice_ethtool.c | 10 drivers/net/ethernet/intel/ice/ice_main.c | 10 drivers/net/ethernet/intel/ice/ice_vf_lib.c | 27 + drivers/net/ethernet/intel/ice/ice_vf_lib_private.h | 1 drivers/net/ethernet/intel/ice/virt/queues.c | 21 drivers/net/ethernet/intel/idpf/idpf_lib.c | 2 drivers/net/ethernet/intel/idpf/idpf_txrx.c | 5 drivers/net/ethernet/intel/idpf/idpf_txrx.h | 2 drivers/net/ethernet/intel/igbvf/netdev.c | 2 drivers/net/ethernet/intel/igc/igc_main.c | 3 drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c | 2 drivers/net/ethernet/mediatek/mtk_eth_soc.c | 2 drivers/net/ethernet/nvidia/forcedeth.c | 4 drivers/net/ethernet/qlogic/qede/qede_main.c | 44 - drivers/net/ethernet/realtek/rtase/rtase_main.c | 3 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c | 14 drivers/net/ethernet/wangxun/libwx/wx_lib.c | 2 drivers/net/phy/phylink.c | 29 - drivers/net/veth.c | 4 drivers/net/vxlan/vxlan_core.c | 21 drivers/net/vxlan/vxlan_mdb.c | 4 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c | 13 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bus.h | 6 drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c | 46 + drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c | 6 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c | 6 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.h | 1 drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c | 3 drivers/net/wireless/marvell/mwifiex/11n_rxreorder.c | 2 drivers/of/address.c | 22 drivers/of/of_reserved_mem.c | 14 drivers/phy/qualcomm/phy-qcom-m31-eusb2.c | 2 drivers/phy/xilinx/phy-zynqmp.c | 62 +- drivers/pinctrl/Kconfig | 2 drivers/pinctrl/devicetree.c | 4 drivers/pinctrl/pinctrl-amd.c | 3 drivers/pinctrl/qcom/pinctrl-msm.c | 8 drivers/pinctrl/qcom/pinctrl-sc8280xp.c | 21 drivers/power/supply/bq25890_charger.c | 2 drivers/power/supply/max17040_battery.c | 6 drivers/ptp/ptp_netc.c | 15 drivers/s390/block/dasd_eckd.c | 11 drivers/s390/block/dasd_ioctl.c | 2 drivers/s390/crypto/pkey_cca.c | 15 drivers/s390/crypto/zcrypt_api.c | 2 drivers/s390/crypto/zcrypt_ccamisc.c | 89 +++ drivers/s390/crypto/zcrypt_ccamisc.h | 6 drivers/s390/net/qeth_core_main.c | 3 drivers/s390/scsi/zfcp_aux.c | 1 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c | 10 drivers/scsi/libiscsi.c | 2 drivers/scsi/libiscsi_tcp.c | 8 drivers/scsi/libsas/sas_init.c | 37 - drivers/scsi/scsi_debug.c | 8 drivers/spi/spi-cadence.c | 129 ++++- drivers/spi/spi-nxp-fspi.c | 83 +++ drivers/spi/spi-qcom-qspi.c | 3 drivers/spi/spi-qpic-snand.c | 22 drivers/target/target_core_iblock.c | 6 drivers/target/target_core_transport.c | 12 drivers/thunderbolt/xdomain.c | 40 + drivers/ufs/core/ufshcd.c | 41 - drivers/usb/typec/ucsi/ucsi.c | 90 +-- drivers/usb/typec/ucsi/ucsi.h | 1 fs/afs/fsclient.c | 5 fs/afs/internal.h | 3 fs/binfmt_misc.c | 22 fs/btrfs/raid56.c | 4 fs/btrfs/super.c | 8 fs/btrfs/zoned.c | 17 fs/erofs/Kconfig | 14 fs/erofs/decompressor_lzma.c | 3 fs/iomap/ioend.c | 21 fs/netfs/buffered_read.c | 4 fs/netfs/read_pgpriv2.c | 1 fs/netfs/write_issue.c | 7 fs/proc/task_mmu.c | 33 + fs/smb/client/cifssmb.c | 12 fs/smb/client/inode.c | 1 fs/smb/server/connection.h | 5 fs/smb/server/smb2pdu.c | 10 fs/smb/server/smb_common.c | 37 + fs/smb/server/vfs_cache.c | 6 include/asm-generic/mshyperv.h | 2 include/drm/drm_exec.h | 20 include/drm/drm_fb_helper.h | 12 include/hyperv/hvhdk.h | 6 include/hyperv/hvhdk_mini.h | 3 include/linux/alloc_tag.h | 3 include/linux/can/core.h | 1 include/linux/can/skb.h | 2 include/linux/cleanup.h | 7 include/linux/dma/qcom_bam_dma.h | 21 include/linux/file.h | 125 +++++ include/linux/iommu.h | 5 include/linux/libata.h | 2 include/linux/netfilter/nf_conntrack_sip.h | 2 include/linux/slab.h | 8 include/linux/thunderbolt.h | 3 include/linux/userfaultfd_k.h | 5 include/net/bluetooth/hci.h | 54 ++ include/net/bluetooth/hci_core.h | 12 include/net/bluetooth/mgmt.h | 2 include/net/ip_vs.h | 45 + include/net/neighbour.h | 8 include/net/netfilter/nf_conntrack_expect.h | 5 include/net/netfilter/nf_tables.h | 4 include/net/xdp_sock.h | 1 include/net/xsk_buff_pool.h | 13 include/scsi/libsas.h | 1 include/uapi/linux/rkisp1-config.h | 6 io_uring/net.c | 1 kernel/audit.c | 11 kernel/auditfilter.c | 6 kernel/events/uprobes.c | 2 kernel/sched/cpufreq_schedutil.c | 11 kernel/sched/deadline.c | 3 kernel/trace/fprobe.c | 6 kernel/trace/trace_events.c | 4 kernel/trace/trace_events_filter.c | 3 kernel/trace/trace_fprobe.c | 12 kernel/trace/trace_mmiotrace.c | 13 kernel/trace/trace_probe.c | 6 lib/alloc_tag.c | 9 lib/assoc_array.c | 3 lib/test_fortify/Makefile | 1 mm/huge_memory.c | 12 mm/hugetlb.c | 12 mm/memcontrol-v1.h | 6 mm/migrate_device.c | 5 mm/mm_init.c | 15 mm/page_reporting.c | 6 mm/percpu-km.c | 2 mm/slab.h | 28 + mm/slab_common.c | 13 mm/slub.c | 76 +-- mm/util.c | 2 net/bluetooth/hci_conn.c | 14 net/bluetooth/hci_event.c | 79 ++- net/bluetooth/hci_sync.c | 140 ++++- net/bluetooth/hidp/core.c | 30 - net/bluetooth/iso.c | 301 ++++++++---- net/bluetooth/l2cap_core.c | 5 net/bluetooth/mgmt.c | 96 +++- net/bluetooth/sco.c | 22 net/bridge/br_mrp.c | 2 net/bridge/br_multicast.c | 1 net/bridge/br_netfilter_hooks.c | 6 net/can/af_can.c | 14 net/can/bcm.c | 2 net/can/isotp.c | 333 ++++++++++---- net/can/j1939/bus.c | 2 net/can/j1939/j1939-priv.h | 3 net/can/j1939/main.c | 8 net/can/j1939/socket.c | 1 net/can/j1939/transport.c | 6 net/can/raw.c | 7 net/core/lwt_bpf.c | 4 net/core/pktgen.c | 4 net/core/skbuff.c | 18 net/handshake/handshake-test.c | 8 net/handshake/handshake.h | 2 net/handshake/netlink.c | 56 +- net/handshake/request.c | 65 ++ net/ipv4/route.c | 2 net/ipv4/udp_tunnel_nic.c | 32 - net/ipv6/fib6_rules.c | 1 net/ipv6/ip6_output.c | 2 net/ipv6/ndisc.c | 2 net/mac80211/s1g.c | 4 net/mpls/af_mpls.c | 1 net/netfilter/ipset/ip_set_hash_gen.h | 2 net/netfilter/ipvs/ip_vs_app.c | 4 net/netfilter/ipvs/ip_vs_conn.c | 3 net/netfilter/ipvs/ip_vs_core.c | 180 +++---- net/netfilter/ipvs/ip_vs_proto_sctp.c | 19 net/netfilter/ipvs/ip_vs_proto_tcp.c | 48 -- net/netfilter/ipvs/ip_vs_proto_udp.c | 54 -- net/netfilter/ipvs/ip_vs_xmit.c | 42 + net/netfilter/nf_conntrack_broadcast.c | 1 net/netfilter/nf_conntrack_core.c | 7 net/netfilter/nf_conntrack_expect.c | 1 net/netfilter/nf_conntrack_h323_main.c | 12 net/netfilter/nf_conntrack_helper.c | 5 net/netfilter/nf_conntrack_netlink.c | 18 net/netfilter/nf_conntrack_sip.c | 4 net/netfilter/nf_nat_sip.c | 2 net/netfilter/nf_tables_api.c | 34 - net/netfilter/nft_payload.c | 12 net/netfilter/xt_hashlimit.c | 16 net/openvswitch/actions.c | 12 net/openvswitch/meter.c | 33 - net/rds/ib.c | 4 net/rds/ib_cm.c | 4 net/rds/tcp.c | 14 net/sctp/associola.c | 3 net/sctp/sm_make_chunk.c | 17 net/smc/smc_core.c | 2 net/tipc/socket.c | 2 net/unix/af_unix.c | 1 net/xdp/xsk.c | 71 ++ net/xdp/xsk_buff_pool.c | 3 security/keys/keyring.c | 14 security/keys/trusted-keys/trusted_dcp.c | 15 sound/core/pcm_native.c | 7 sound/core/seq/seq_timer.c | 9 sound/core/timer.c | 2 sound/core/ump.c | 1 sound/hda/codecs/realtek/alc269.c | 4 sound/pci/lx6464es/lx6464es.c | 5 sound/pci/lx6464es/lx_core.c | 5 sound/soc/codecs/max98090.c | 5 sound/soc/codecs/max98095.c | 5 sound/soc/codecs/tas2562.c | 30 - sound/soc/codecs/tas2781-i2c.c | 4 sound/soc/fsl/fsl_asrc.c | 2 sound/soc/fsl/fsl_easrc.c | 2 sound/soc/sdca/sdca_functions.c | 2 sound/usb/6fire/chip.c | 4 sound/usb/endpoint.c | 14 sound/usb/midi.c | 2 sound/usb/midi2.c | 4 sound/usb/mixer_quirks.c | 2 tools/testing/kunit/kunit_kernel.py | 38 + tools/testing/kunit/kunit_tool_test.py | 42 + tools/testing/selftests/clone3/clone3_set_tid.c | 2 tools/testing/selftests/filesystems/fclog.c | 4 tools/testing/selftests/lkdtm/tests.txt | 2 tools/testing/selftests/mm/mlock-random-test.c | 2 tools/testing/selftests/net/.gitignore | 7 tools/testing/selftests/net/af_unix/.gitignore | 9 tools/testing/selftests/net/af_unix/Makefile | 2 tools/testing/selftests/net/af_unix/unix_connreset.c | 177 +++++++ tools/testing/selftests/net/af_unix/unix_listen.c | 187 +++++++ tools/testing/selftests/seccomp/seccomp_bpf.c | 3 402 files changed, 5649 insertions(+), 2190 deletions(-)
Aaron Ma (1):
ice: wait for reset completion in ice_resume()
Abdun Nihaal (3):
gpio: sloppy-logic-analyzer: Fix memory leak in gpio_la_poll_probe()
cpufreq: powernow-k8: Fix possible memory leak in powernowk8_cpu_init()
can: kvaser_usb: kvaser_usb_hydra_get_busparams(): fix memory leak in kvaser_usb_hydra_get_busparams()
Aboorva Devarajan (1):
mm/util: don't read __page_2 for order-1 folios in snapshot_page()
Aldo Ariel Panzardo (1):
Bluetooth: SCO: give the socket its own sco_conn reference
Alexander Kaplan (2):
drm/i915/dp: Ignore the sink's DSC max FRL rate without a PCON DSC encoder drm/dp: Read the PCON max FRL bandwidth only for HDMI DFPs
Alexandru Elisei (1):
KVM: arm64: Reject guest_memfd memslots when the VM has MTE
Andrei Kuchynski (2):
usb: typec: ucsi: Fix race condition and ordering in port unregistration
usb: typec: ucsi: Correct teardown ordering in ucsi_init() error path
Anirudh Srinivasan (1):
riscv: drop __init from vec_check_unaligned_access_speed_all_cpus
Arvind Yadav (2):
drm/xe/bo: Add purgeable bo state tracking and field madv to xe_bo drm/xe/vm: Prevent binding of purged buffer objects
Ashutosh Dixit (10):
drm/xe/rtp: Refactor OAG MMIO trigger register whitelisting drm/xe/rtp: Add RING_FORCE_TO_NONPRIV_DENY to OA whitelists drm/xe/rtp: Maintain OA whitelists separately drm/xe/rtp: Keep track of non-OA nonpriv slots drm/xe/rtp: Generalize whitelist_apply_to_hwe drm/xe/rtp: Save OA nonpriv registers to register save/restore lists drm/xe/rtp: Toggle 'deny' bit to (de-)whitelist OA regs drm/xe/rtp: (De-)whitelist OA registers for all hwe's for a gt drm/xe/oa: (De-)whitelist OA registers on OA stream open/release drm/xe/rtp: Ensure locking/ref counting for OA whitelists
Asim Viladi Oglu Manizada (1):
sctp: prevent peer transport count overflow
Aswin Karuvally (1):
s390/qeth: Check CAP_NET_ADMIN for private ioctls
Avi Weiss (4):
can: ctucanfd: use self-test mode for PRESUME_ACK
can: ctucanfd: unmap BAR0 using base address
can: ctucanfd: handle bus error interrupts
can: ctucanfd: mark error-active controller status valid
Bart Van Assche (2):
scsi: ufs: core: Revert "Delegate the interrupt service routine to a threaded IRQ handler" drm/fb-helper: Fix a locking bug in an error path
Baul Lee (4):
ALSA: ump: fix double free of out_cvts on rawmidi error
ALSA: usb-audio: fix use-after-free in ump_to_endpoint()
ALSA: usb-audio: fix stack info leak in RME Digiface status
ALSA: usb-audio: fix OOB write in snd_usbmidi_akai_output()
Benjamin Block (1):
scsi: zfcp: Fix memory leak during adapter release by destroying gid_pn_req
Benjamin Boortz (2):
pinctrl: microchip-sgpio: add missing select REGMAP_MMIO
pinctrl: bm1880: add missing select GENERIC_PINCONF
Benjamin Tissoires (1):
HID: logitech-dj: fix wrong detection of bad DJ_SHORT output report
Breno Leitao (2):
mm: memcg: initialize *locked in memcg1_oom_prepare() stub
uprobes: Fix NULL pointer dereference in hprobe_expire()
Bryan O'Donoghue (1):
media: qcom: camss: Fix RDI streaming for CSID 340
Candice Li (1):
drm/amdgpu: restore UMD profile pstate after runtime resume
Carlo Caione (1):
of/address: Fix NULL bus dereference in of_pci_range_parser_one()
Carlos Song (1):
i2c: imx: mark I2C adapter when hardware is powered down
Charles Keepax (1):
ASoC: SDCA: Ensure that Control Range is large enough for header
Charles Vosburgh (1):
sctp: validate Adaptation Indication parameter length
Chengfeng Ye (2):
Bluetooth: hci_sync: Fix advertising data UAFs
net: pktgen: fix proc entry use-after-free
Chenguang Zhao (4):
forcedeth: fix UAF of txrx_stats in nv_remove
net: ethernet: mtk_eth_soc: pass eth to mtk_handle_irq_rx in poll_controller
net: sxgbe: free TX rings on RX allocation failure
net: sxgbe: check descriptor ring allocation failures
Chris Gellermann (2):
selftests/mm: fix potential wild pointer access of getline due to missing init selftests/clone3: fix wild pointer access of getline due to missing init
Christian Brauner (7):
binfmt_misc: restore write access when removing an entry
binfmt_misc: use exe_file_deny_write_access() for the interpreter clone
binfmt_misc: reject a flag character as the field delimiter
binfmt_misc: don't let an 'F' entry pin its own instance
file: add FD_{ADD,PREPARE}()
file: ensure cleanup
net/handshake: convert handshake_nl_accept_doit() to FD_PREPARE()
Christian Marangi (1):
net: phylink: put link_gpio if phylink_create fails
Christoph Hellwig (1):
iomap: add a separate bio_set for iomap_split_ioend
Chuck Lever (4):
net/handshake: Take a long-lived file reference at submit net/handshake: hand off the pinned file reference to accept_doit net/handshake: Close the submit-side sock_hold race net/handshake: Drain pending requests at net namespace exit
Daniel Golle (2):
net: dsa: mt7530: check bus->read() errors in the MDIO regmap backend
net: dsa: mt7530: error out on failed reads in MT7531 PHY polling
David Carlier (1):
igc: remove napi_synchronize() in igc_down()
David Corvaglia (1):
net: bridge: mrp: fix Option TLV length in MRP_Test frames
David Francis (1):
drm/amdkfd: Handle invalid event type in CRIU event restore
David Gow (1):
kunit: tool: Terminate kernel under test on SIGINT
David Howells (3):
afs: Fix afs_fs_fetch_data() to set call->async
afs: Fix afs_fs_fetch_data() to subtract transferred from len
afs: Fix UAF when sending a message
David Lee (1):
netfilter: ipset: do not update comments from kernel-side hash adds
Dawei Feng (3):
smb: client: fix buffer leaks in SMB1 read and write
e1000: fix memory leak in e1000_probe()
ice: fix memory leak in ice_lbtest_prepare_rings()
Dawid Osuchowski (1):
ice: fix VF interrupts cleanup
Denis V. Lunev (1):
qede: sync udp_tunnel ports outside qede_lock in the recovery path
Eckhart Mohr (1):
ALSA: hda/realtek: Add quirk for TongFang X6SP45xU
Eric Dumazet (7):
net: do not send ICMP/NDISC Redirects when peer allocation fails
net: udp_tunnel: fix memory leak in udp_tunnel_nic_unregister()
vxlan: re-fetch eth header after route_shortcircuit()
vxlan: unclone skb head before modifying eth header in route_shortcircuit()
vxlan: use neigh_ha_snapshot() in route_shortcircuit()
vxlan: use pskb_network_may_pull() for transmit path header pulls
vxlan: use pskb_network_may_pull() in route_shortcircuit()
Fabian Lippold (1):
ALSA: hda/realtek: add quirk for HP Dragonfly Folio G3 2-in-1
Fabrice Derepas (1):
KEYS: trusted: dcp: fix key_len validation and calc_blob_len() return type
Fan Wu (1):
wifi: brcmfmac: drain bus_reset work on device removal
Farhan Ali (5):
KVM: s390: pci: Reject adapter interrupt forwarding if already enabled
KVM: s390: pci: Fix memory accounting for pinned/unpinned pages
KVM: s390: pci: Fix missing error codes and memory unaccounting
KVM: s390: pci: Fix NULL dereference on AIBV allocation failure
KVM: s390: pci: Validate AIBV and AISB before pinning guest pages
Frank Sorenson (1):
cifs: add fscache_resize_cookie() to cifs_setsize()
Gabriele Monaco (1):
sched/deadline: Use revised wakeup rule only for running dl_server
Gang Ba (1):
drm/amdkfd: Fix missing authorization check in KFD_IOC_DBG_TRAP_DISABLE
Greg Kroah-Hartman (3):
Bluetooth: btusb: Fix short read errors in btusb_qca_send_vendor_req()
Bluetooth: btmtk: Fix short read errors in btmtk_usb_uhw_reg_read() Linux 6.18.44
Gregory Price (1):
mm/vmstat: fold stranded per-cpu node stats when a node comes online
Guangshuo Li (2):
scsi: ufs: core: Cancel RTC work in active-active suspend
can: etas_es58x: es58x_read_bulk_callback(): fix RX buffer leak on URB resubmit failure
Guenter Roeck (8):
hwmon: (nct6775-core) Fix number of temperature registers for NCT6116
hwmon: (ina2xx) Fix various overflow issues
hwmon: (ltc4282) Fix reading the minimum alarm voltage
hwmon: (sht3x) Fix unaligned accesses
hwmon: (lm90) Only report alarms if driver is ready
hwmon: (nzxt-smart2) DMA-align output buffer
hwmon: (nct6775-core) Prevent access to unsupported weight registers
hwmon: (pmbus) Fix return value from pmbus_update_byte_data()
H. Nikolaus Schaller (1):
i2c: jz4780: Cache host clock rate at probe to prevent CCF prepare_lock deadlock
Haibo Chen (1):
spi: spi-nxp-fspi: add per-SoC SDR/DTR clock rate limits for all supported SoCs
Haidar Lee (2):
ASoC: tas2562: fix DVC coefficient write order
ASoC: tas2562: fix broken entries in the volume lookup table
Haofeng Li (1):
selftests/lkdtm: rename STACKLEAK_ERASING to KSTACK_ERASE
Harald Freudenberger (3):
s390/zcrypt: Fix wrong domain value verification with EP11 CPRBs s390/zcrypt: Fix buffer over-read in cca_cipher2protkey s390/zcrypt: Fix missing mem scrub at clear key import in cca_clr2cipherkey()
Harkirat Gill (1):
drm/amdgpu: cap GTT size to physical RAM on APUs
Harry Yoo (Oracle) (2):
lib/alloc_tag: introduce mem_alloc_profiling_permanently_disabled() mm/slab: prevent unbounded recursion in free path with new kmalloc type
Hidayath Khan (1):
dibs: fix use-after-free of dmb_node in loopback attach/detach/unregister
Himal Prasad Ghimiray (1):
drm/xe/vm: Fix BO prefetch with CONSULT_MEM_ADVISE_PREF_LOC
Holger Dengler (2):
s390/zcrypt: Validate length for CCA AES cipher key requests s390/zcrypt: Validate length for CCA ECC private key requests
Honglei Huang (1):
drm/gpusvm: publish dpagemap early to avoid device mapping leak on error
Hongling Zeng (1):
dmaengine: sun6i-dma: Fix reclaim descriptors while terminating DMA
Hongyan Xu (1):
hwmon: (npcm750-pwm-fan): stop fan timer on device detach
HyeongJun An (3):
scsi: libiscsi: Fix stale-data leak into the SCSI sense buffer
scsi: libiscsi_tcp: Bound SCSI Response data segment to the connection buffer
HID: logitech-dj: Fix maxfield check in DJ short report validation
Ian Ray (2):
hwmon: (ina2xx) Make it easier to add more devices
hwmon: (ina2xx) Add support for INA234
Ibrahim Hashimov (1):
scsi: scsi_debug: Fix REPORT ZONES alloc_len underflow OOB write
Ilia Gavrilov (1):
rds: Fix inet6_addr_lst NULL dereference when IPv6 is disabled
Ilya Maximets (3):
net: openvswitch: fix potential UAF on meter attach failure
net: openvswitch: fix skb leak on flow key update failure during recirculation
net: openvswitch: fix skb leak on flow key update failure during ct
Jackson Lee (1):
media: chips-media: wave5: Support CBP profile
James Gao (1):
can: peak_usb: add bounds check for USB channel index
Jan Höppner (1):
s390/dasd: Fix potential NULL pointer dereference
Jani Nikula (1):
drm/i915/vrr: require valid min/max vfreq for VRR
Jason Xing (3):
xsk: fix buffer leak in xsk_drop_skb() for AF_XDP multi-buffer Tx
xsk: use a smaller new lock for shared pool case
xsk: drain continuation descs after overflow in xsk_build_skb()
Jens Axboe (1):
io_uring/net: initialize mshot_len for send
Jerome Tollet (1):
drm/i915/hdmi: Poll for 200 msec for TMDS_Scrambler_Status
Jiale Yao (1):
Bluetooth: L2CAP: fix UAF in l2cap_le_connect_rsp
Jianing Li (1):
power: supply: max17040: handle missing status supplier
Jiawen Wu (1):
net: libwx: fix FDIR ATR queue mismatch for software VLAN packets
Jinank Jain (1):
mshv: adjust interrupt control structure for ARM64
Jiri Slaby (SUSE) (1):
drm/amd/display: use proper context for logging
Johannes Thumshirn (2):
btrfs: zoned: fix deadlock between metadata writeback and transaction commit
btrfs: zoned: reset meta_write_pointer on zone reset
John Ericson (2):
af_unix: fix listen() succeeding on sockets in the wrong state selftests/net/af_unix: test listen() rejects wrong socket states
Jonas Gorski (1):
i2c: iproc: reset bus after timeout if START_BUSY is stuck
Jonas Rebmann (1):
hwmon: (ina2xx) Shift INA234 shunt and current registers
Jori Koolstra (1):
selftest: fix headers in fclog.c
Jose Maria Casanova Crespo (1):
drm/vc4: Supply the overflow slot size in BPOS, not the whole bin BO size
Joshua Hay (1):
idpf: adjust TxQ ring count minimum
Julian Anastasov (3):
ipvs: fix the checksum validations
ipvs: fix places with wrong packet offsets
ipvs: do not mangle ICMP replies for non-first fragments
Jun Guo (2):
spi: spi-cadence: supports transmission with bits_per_word of 16 and 32
spi: spi-cadence: enable SPI_CONTROLLER_MUST_TX
Junjie Cao (1):
gpio: pch: use raw_spinlock_t for the register lock
Karl Mehltretter (2):
riscv: mm: Fix out-of-bounds page-table walk during memory hot-remove
pinctrl: devicetree: don't free uninitialized dev_name on error path
Kefeng Wang (1):
mm: migrate_device: fix pte_pfn/pte_dirty called on non-present PTE
Kiryl Shutsemau (Meta) (4):
fs/proc/task_mmu: fix PAGEMAP_SCAN written state for PMD holes mm/hugetlb: fix swap entry corruption when clearing uffd-wp at fork() fs/proc/task_mmu: fix PAGEMAP_SCAN written state for unpopulated ptes mm/huge_memory: unlock i_mmap_rwsem before releasing after-split folios
Konrad Dybcio (1):
pinctrl: qcom: sc8280xp: Add missing wakeup entries for GPIO143/151
Krishna Kurapati (1):
phy: qcom: m31-eusb2: Fix return value of init call
Kuan-Ying Lee (1):
selftests/seccomp: Fix pointer type mismatch build error
Kuniyuki Iwashima (1):
selftest: af_unix: Create its own .gitignore.
Laurent Pinchart (1):
drm/bridge: display-connector: Fix I2C adapter resource leak
Lee Jones (2):
HID: logitech-dj: Standardise hid_report_enum variable nomenclature
HID: logitech-dj: Prevent REPORT_ID_DJ_SHORT related user initiated OOB write
Leo Li (2):
drm/amd/display: check GRPH_FLIP status before sending event drm/amd/display: Exit idle optimizations before programming
Leon Romanovsky (1):
scsi: target: Clear cmd_cnt when initial counter enrollment fails
Liem (2):
i2c: imx: Fix slave registration race and error handling
i2c: imx: Cancel hrtimer before clearing slave pointer
Link Lin (1):
mm/page_reporting: use system_freezable_wq to fix UAF during suspend
Linmao Li (1):
i2c: spacemit: request IRQ after controller initialization
Loic Poulain (1):
media: qcom: camss: csid-340: Fix unused variables
Lorenzo Bianconi (1):
netfilter: br_netfilter: Reallocate headroom if necessary in neigh_hh_bridge()
Lucas Martins Alves (1):
can: c_can: c_can_chip_config(): keep controller in init mode until bittiming is configured
Luiz Angelo Daros de Luca (8):
hwmon: (adt7470) Fix fans stuck in manual mode on I2C errors
hwmon: (adt7470) Fix cache updated before hardware write on I2C error
hwmon: (adt7470) Fix busy-loop and I2C flooding in update thread
hwmon: (adt7470) Fix temperature alarm logic in hwmon_temp_read()
hwmon: (adt7470) Fix swapped PWM3 and PWM4 auto mode masks
hwmon: (adt7470) Use cached PWM frequency value
hwmon: (adt7470) Fix divide-by-zero TOCTOU crash in fan speed read
hwmon: (adt7470) Fix PWM auto temp state array and bounds check
Luiz Augusto von Dentz (2):
Bluetooth: HCI: Add initial support for PAST
Bluetooth: ISO: Fix not updating BIS sender source address
Luxiao Xu (1):
audit: fix potential use-after-free in audit_del_rule()
Maoyi Xie (1):
can: peak_usb: peak_usb_start(): fix double free of transfer buffer on URB submit error
Marc Kleine-Budde (1):
can: gs_usb: gs_usb_receive_bulk_callback(): resubmit URB on skb allocation failure
Mario Limonciello (1):
pinctrl-amd: Don't clear S4 wake bits at probe
Masami Hiramatsu (Google) (5):
fprobe: Fix module reference count leak on error in register_fprobe() tracing/mmiotrace: Reset dropped_count in mmio_reset_data() tracing/mmiotrace: Add NULL check for mmio_trace_array in logging functions
tracing: Check return value of __register_event() in trace_module_add_events() tracing/filters: Fix false positive match in regex_match_full()
Matt Fleming (1):
veth: convert frag_list skbs before running XDP
Matt Vollrath (2):
ata: libata-eh: Increase STANDBY IMMEDIATE timeout
igbvf: Fix leak in TX DMA error cleanup
Matthew Brost (3):
drm/xe: Wait on external BO kernel fences in exec IOCTL drm/xe: Use SVM range helpers in PT layer drm/xe: Stub out new pagefault layer
Mauricio Faria de Oliveira (1):
x86/boot: Add volatile, clobbers and zero-length test in memcmp()
Maíra Canal (1):
drm/vc4: Zero the tile state data array before each BIN job
Md Sadre Alam (1):
dmaengine: qcom: bam_dma: Fix command element mask field for BAM v1.6.0+
Michael Bommarito (6):
thunderbolt: Prevent XDomain delayed work use-after-free on disconnect
keys: fix out-of-bounds read in keyring_get_key_chunk()
keys: make keyring key-chunk byte order agree with keyring_diff_objects()
assoc_array: trim the final shortcut word using the current chunk end
erofs: cap LZMA stream pool size
um: vector: fix use-after-free in vector_mmsg_rx()
Mike Rapoport (Microsoft) (1):
userfaultfd: prevent registration of special VMAs
Ming Lei (1):
ublk: reset kernel-owned dev_info fields in ublk_ctrl_add_dev()
Minhong He (1):
can: isotp: check register_netdevice_notifier() error in module init
Muhammad Bilal (1):
accel/qaic: use sizeof(*trans_hdr) for transaction length check
Myeonghun Pak (2):
i2c: amd-mp2: Unregister callback on adapter add failure drm/mediatek: ovl_adaptor: balance component registrations
Namjae Jeon (3):
ksmbd: return success for deferred final close
ksmbd: fix use-after-free in __close_file_table_ids()
ksmbd: reject repeated SMB2 NEGOTIATE requests
Nathan Chancellor (1):
fortify: Disable -Wstringop-overread in tests
Nava kishore Manne (3):
phy: zynqmp: fix L0_TM_DISABLE_SCRAMBLE_ENCODER mask
phy: zynqmp: use read-modify-write for SERDES scrambler bypass
phy: zynqmp: keep SERDES scrambler and 8b/10b enabled for USB
Nicolin Chen (3):
iommu/arm-smmu-v3-iommufd: Require exactly one Stream ID for a vDEVICE iommufd/viommu: Release the igroup lock on the vdevice_size error path iommufd/viommu: Publish a vDEVICE only after vdevice_init() succeeds
Niklas Cassel (1):
ata: libata-sata: fix ata_scsi_lpm_supported() iteration
Niklas Schnelle (1):
s390/pci: Fix s390_pci_mmio_write syscall error return without MIO
Niklas Söderlund (1):
media: uapi: rkisp: Correct name version enum
Nitin Gote (1):
drm/xe: add xe_migrate_resolve wrapper and is_vram_resolve support
Norbert Szetei (3):
ALSA: pcm: wake linked drain waiters on unlink
ALSA: seq: Fix division by zero in initialize_timer()
ALSA: timer: Clear SNDRV_TIMER_IFLG_DEAD once the close completes
Oak Zeng (1):
drm/xe: Add page reclamation info to device info
Oleksij Rempel (1):
can: j1939: transport: j1939_session_fresh_new(): initialize receive buffer
Oliver Hartkopp (2):
can: use skb hash instead of private variable in headroom
can: isotp: fix timer drain order, wakeup handling and tx_gen ordering
Osama Abdelkader (2):
drm/panthor: reject firmware sections with oversized data drm/panthor: validate firmware interface structure sizes
Pablo Neira Ayuso (3):
netfilter: nf_conntrack_expect: restore helper propagation via expectation
netfilter: nf_tables: make nft_object rhltable per table
netfilter: xt_hashlimit: validate hashtable supports XT_HASHLIMIT_RATE_MATCH
Paolo Bonzini (1):
KVM: VMX: add memory clobber to asm for VMX instructions
Pauli Virtanen (14):
Bluetooth: ISO: clear iso_data always when detaching conn from hcon
Bluetooth: ISO: lock sk in iso_sock_getname
Bluetooth: ISO: lock sk in iso_connect_ind
Bluetooth: ISO: fix timeout vs sync_timeout typo in check_bcast_qos
Bluetooth: ISO: validate sockaddr_iso first in iso_sock_rebind_bis()
Bluetooth: ISO: fix CONNECTED -> CLOSED transition on shutdown/release
Bluetooth: ISO: hold sk properly in iso_conn_ready
Bluetooth: ISO: fix leaking sk after socket release
Bluetooth: ISO: avoid deadlocks in iso_sock_timeout
Bluetooth: ISO: ensure no dangling hcon references in iso_conn
Bluetooth: ISO: fix refcounting of iso_conn
Bluetooth: hci_sync: make hci_cmd_sync_run_once return -EEXIST if exists
Bluetooth: hci_conn: hold conn reference in abort_conn_sync()
Bluetooth: hci_sync: fix hci_conn_del() use in hci_le_create_conn_sync
Peiyang He (2):
iommufd: Fix wrong hwpt passed to iommufd_auto_response_faults on replace iommu/iommufd: Fix IOPF group ownership UAF
Pengpeng Hou (5):
can: ems_usb: validate CPC message lengths
can: kvaser_usb_leaf: kvaser_usb_leaf_wait_cmd(): validate received command extents
can: softing: fw_parse(): validate firmware record spans
can: peak_usb: validate uCAN receive record lengths
can: ctucanfd: add missing MODULE_DEVICE_TABLE()
Peter Wang (1):
scsi: ufs: core: Avoid IRQ thread wakeup during active UIC command
Pierre-Eric Pelloux-Prayer (1):
drm/amdgpu: move debug_vm handling to amdgpu_cs_parser_fini
Przemyslaw Korba (1):
ice: suppress DPLL errors during reset recovery
Qu Wenruo (2):
btrfs: fix leaking BTRFS_FS_STATE_REMOUNTING flag
btrfs: raid56: fix an incorrect csum skip during scrub
Radhey Shyam Pandey (3):
ata: ahci_ceva: fix error paths in ceva_ahci_platform_enable_resources()
phy: zynqmp: fix clock error handling in xpsgtr_phy_init()
phy: zynqmp: fix runtime PM leak on probe allocation failure
Raushan Patel (2):
tracing/probes: Reject $arg0 in meta argument expansion tracing/fprobe: Roll back on enable_trace_fprobe() failure
Ray Wu (1):
drm/amd/display: Increase HDMI AV mute wait from 2 to 3 frames
Roman Kisel (3):
arch/x86: mshyperv: Discover Confidential VMBus availability
Drivers: hv: Rename fields for SynIC message and event pages
Drivers: hv: Allocate the paravisor SynIC pages when required
Rosen Penev (1):
ata: sata_mv: accept 1 or 2 resources in platform probe
Ruoyu Wang (1):
drm/mediatek: Check CRTC state before freeing
Sang-Heon Jeon (1):
of: reserved_mem: prevent OOB when too many dynamic regions are defined
Sangho Lee (2):
Bluetooth: HIDP: reject frames without a transaction header
Bluetooth: HIDP: validate numbered report payloads
Sean Christopherson (1):
KVM: SVM: Update x2APIC MSR intercepts if AVIC is inhibited while L2 is active
Sebastian Andrzej Siewior (1):
Drivers: hv: vmbus: Replace lockdep_hardirq_threaded() with lockdep annotation
Sergey Senozhatsky (1):
usb: typec: ucsi: split connector lock classes
SeungJu Cheon (1):
Bluetooth: ISO: Fix data-race on iso_pi(sk) in socket and HCI event paths
Shengjiu Wang (2):
ASoC: fsl_asrc: fix m2m_init error path to use goto instead of bare return
ASoC: fsl_easrc: fix m2m_init error path to use goto instead of bare return
Shuvam Pandey (1):
kunit: tool: skip stty when stdin is not a tty
Sneh Mankad (1):
pinctrl: qcom: Unconditionally mark gpio as wakeup enable
Sonali Pradhan (2):
ALSA: usb-audio: Fix DMA buffer out-of-bounds write when fill_max is set
ALSA: usb-audio: Clamp frame size in implicit-feedback mode
Srikanth Boyapally (1):
spi: spi-cadence: Move TX FIFO full busy-wait into FIFO
Stanislav Kinsburskii (5):
mshv: Fix duplicate GSI detection for GSI 0
mshv: Fix sleeping under spinlock in mshv_portid_alloc
mshv: Fix race in mshv_irqfd_deassign
mshv: Fix level-triggered check on uninitialized data
mshv: Order pt_vp_array publish against irqfd assertion path
Stanislaw Pal (1):
spi: spi-qpic-snand: write the feature value before executing SET_FEATURE
Stefan Haberland (1):
s390/dasd: Fix undersized format-check buffer
Suman Ghosh (1):
octeontx2-pf: Set correct sequence for carrier off and tx queue stop
Sunday Adelodun (1):
selftests: af_unix: Add tests for ECONNRESET and EOF semantics
Takashi Iwai (1):
ALSA: 6fire: Fix UAF at error handling during probe
TanZheng (1):
scsi: target: iblock: Fix wrong PR ops NULL check for PREEMPT/RELEASE
Tejas Upadhyay (1):
drm/xe/guc: Fix buffer overflow in steered register list allocation
Tetsuo Handa (1):
can: j1939: use netdevice_tracker for j1939_{priv,session,ecu} tracking
Thomas Hellström (1):
drm/exec: Remove the index parameter from drm_exec_for_each_locked_obj[_reverse]
Thomas Zimmermann (3):
drm/fb-helper: Allocate and release fb_info in single place drm/tegra: fbdev: Remove offset into framebuffer memory drm/tegra: fbdev: Do not assign to struct drm_fb_helper.info
Thorsten Blum (4):
powerpc/boot: Fix simpleboot CPU node lookup check powerpc/boot: Fix treeboot-currituck CPU node lookup check powerpc/boot: Fix treeboot-akebono CPU node lookup check powerpc/ps3: Fix map failure path in dma_ioc0_map_pages()
Timur Kristóf (1):
drm/amdgpu: Respect placement requirements in amdgpu_gtt_mgr functions
Tvrtko Ursulin (1):
drm/amdgpu: Fix context pstate override handling
Uday Khare (2):
ASoC: max98095: fix missing IS_ERR() before PTR_ERR() on mclk lookup
ASoC: max98090: fix missing IS_ERR() before PTR_ERR() on mclk lookup
Vijaya Krishna Nivarthi (1):
spi: qcom-qspi: Correct max DMA length to avoid 64K boundary failure
Ville Syrjälä (1):
drm/i915/vrr: Check HAS_VRR() first in intel_vrr_is_capable()
Vincent Jardin (1):
hwmon: (pmbus/core) notify on the hwmon device, not the i2c client
Vladimir Marioukhine (1):
drm/amdkfd: fix QID bit leak in pqm_create_queue()
Wang Liang (1):
net/handshake: Fix null-ptr-deref in handshake_complete()
Wei Fang (1):
ptp: netc: fix potential interrupt storm caused by incorrect unbind order
Wei Liu (1):
mshv: fix hv_input_get_system_property struct
Wenmeng Liu (1):
i2c: qcom-cci: drop custom suspend/resume and rely on runtime PM helpers
William Palacek (2):
drm/amdkfd: fix uint32_t overflow in EOP ring buffer size alignment drm/amdkfd: hold event_mutex while checkpointing CRIU events
Xiang Mei (2):
netfilter: nf_conntrack_sip: widen NAT rewrite delta to s32 in sip_help_tcp()
rds: tcp: hold the RCU lock across ipv6_chk_addr() in rds_tcp_laddr_check()
Xiang Mei (Microsoft) (1):
netfilter: nft_payload: fix mask build for partial field offload
Xiangfeng Cai (1):
mm/hugetlb: fix list corruption in allocate_file_region_entries()
Xin Wang (1):
drm/xe/pat: Add helper to query compression enable status
Xingui Yang (1):
scsi: libsas: Fix HA resume deadlock and hisi_sas disk-wake race
Xu Rao (2):
ALSA: lx6464es: fix period byte count for 16-bit streams
power: supply: bq25890: fix the -10 C NTC lookup entry
Xuanqiang Luo (2):
bpf: lwt: Fix dst reference leak on reroute failure net/smc: fix socket use-after-free during link group termination
Yang Wang (1):
drm/amd/pm: fix torn gpu metrics reads
Yehyeong Lee (1):
net: mpls: initialize rtm_tos in mpls_getroute()
Yichong Chen (3):
netfs: clear PG_private_2 on copy-to-cache append failure
netfs: handle single writeback rolling buffer allocation failure
netfs: release readahead folios on iterator preparation failure
Yuho Choi (2):
dmaengine: idxd: fix fdev setup failure cleanup in idxd_cdev_open()
idpf: Fix mailbox IRQ name leak on request failure
Yun Lu (1):
rtase: fix double free of multi-frag skb on DMA map failure
Yuxiang Yang (1):
sctp: reject stale cookies with mismatched verification tags
Zack Rusin (11):
drm/vmwgfx: fix guest_memory_dirty bitfield clobbered as size drm/vmwgfx: reject DX_BIND_QUERY without a DX context drm/vmwgfx: clamp dirty-page range with min, not max drm/vmwgfx: take fman->lock around fence list mutation in fifo_down drm/vmwgfx: drop dma_buf reference on foreign-fd prime import drm/vmwgfx: validate DRAW_PRIMITIVES header size before division drm/vmwgfx: bound DMA command body size against suffix pointer drm/vmwgfx: avoid destroy_workqueue(NULL) on vkms init failure drm/vmwgfx: enforce cursor size limits for MOB cursors drm/vmwgfx: use check_add_overflow for shader size+offset bound drm/vmwgfx: validate external BO copy bounds for both stride paths
Zhan Xusheng (1):
audit: fix potential integer overflow in audit_log_n_string()
Zhao Li (2):
wifi: mac80211: validate individual TWT params before driver setup
wifi: mwifiex: use the subframe length when parsing A-MSDU TDLS frames
Zhiling Zou (3):
ipvs: do not propagate one-packet flag to synced conns
net: bridge: stop fast-leave after deleting a port group
net: ipv6: clear suppressed fib6 rule result
Zhongqiu Han (1):
cpufreq: schedutil: Publish util hooks only after all sg_cpu are initialized
Zi Yan (1):
mm/percpu-km: fix bitmap overflow and accounting in pcpu_create_chunk()
Zihan Xi (3):
Bluetooth: mgmt: fix pending command UAF in EIR updates
Bluetooth: mgmt: fix UAF in pair command cancellation
tipc: avoid use-after-free in poll trace queue dumps
Zijun Hu (1):
Bluetooth: btintel: Validate length before parsing diagnostics TLV
Zongyao Bai (1):
drm/xe/pt: Reset current_op in xe_pt_update_ops_init()
bui duc phuc (1):
gpio: pca953x: fix cache_only and IRQ state on restore_context() failure
wangdicheng (1):
ASoC: tas2781: Use correct calibration data for SINEGAIN2 register