This bug was fixed in the package linux-nvidia-6.11 - 6.11.0-1011.11

---------------
linux-nvidia-6.11 (6.11.0-1011.11) noble; urgency=medium

  * noble/linux-nvidia-6.11: 6.11.0-1011.11 -proposed tracker (LP:
#2114931)

  * NVIDIA: SAUCE: Add quirk to disable secondary-bus-reset on PCIe gen-4
    ports  (LP: #2114759)
    - NVIDIA: SAUCE: MEDIATEK: pcie: disable SBR on Gen4 Ports

  * Pick from upstream: "wifi: mt76: mt7925: fix host interrupt register
    initialization" (LP: #2114232)
    - wifi: mt76: mt7925: fix host interrupt register initialization

  * ASPM Backports for DGX Spark (LP: #2114757)
    - PCI/ASPM: Disable L1 before disabling L1 PM Substates
    - PCI/ASPM: Add notes about enabling PCI-PM L1SS to
      pci_enable_link_state(_locked)
    - PCI/ASPM: Save parent L1SS config in pci_save_aspm_l1ss_state()
    - PCI/ASPM: Fix L1SS saving
    - PCI/ASPM: Fix link state exit during switch upstream function removal

  * NVIDIA: SAUCE: Add FFA and EC Secure Service Driver to -nvidia kernel
    (LP: #2114230)
    - NVIDIA: SAUCE: Add support for custom ARM FFH offset handler
    - NVIDIA: SAUCE: Add nvidia ffa driver for EC communication
    - NVIDIA: SAUCE: Add ffa driver for each secure EC service
    - NVIDIA: SAUCE: Add support for EC secure service communication
    - NVIDIA: SAUCE: Rescan acpi devices that uses secure EC communication
    - NVIDIA: SAUCE: irqchip/gic-v3: Allow unused SGIs for drivers/modules
    - NVIDIA: SAUCE: Add support for notifications from secure EC services
    - [Config] nvidia-6.11: Update annotations to enable NVIDIA FFA EC driver

  * Pull request: KVM: selftests: Always unlink memory regions when deleting
    (LP: #2112594)
    - KVM: selftests: Always unlink memory regions when deleting (VM free)
    - KVM: selftests: Don't bother deleting memslots in KVM when freeing VMs

  * IOMMU: Support contiguous bit in translation tables (LP: #2112600)
    - NVIDIA: SAUCE: iommu/io-pgtable-arm: backport contiguous bit support

  * Backport pci=config_acs parameter with fix commit (LP: #2100340)
    - PCI/ACS: Fix 'pci=config_acs=' parameter
    - iommu: Skip PASID validation for devices without PASID capability

 -- Jacob Martin <[email protected]>  Wed, 18 Jun 2025 16:35:12
-0500

** Changed in: linux-nvidia-6.11 (Ubuntu Noble)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-nvidia-6.8 in Ubuntu.
https://bugs.launchpad.net/bugs/2100340

Title:
  Backport pci=config_acs parameter with fix commit

Status in linux package in Ubuntu:
  Invalid
Status in linux-nvidia package in Ubuntu:
  Invalid
Status in linux-nvidia-6.11 package in Ubuntu:
  Invalid
Status in linux-nvidia-6.14 package in Ubuntu:
  Invalid
Status in linux-nvidia-6.8 package in Ubuntu:
  Invalid
Status in linux-nvidia-lowlatency package in Ubuntu:
  Invalid
Status in linux-nvidia-6.8 source package in Jammy:
  Fix Committed
Status in linux source package in Noble:
  Fix Committed
Status in linux-nvidia source package in Noble:
  Fix Released
Status in linux-nvidia-6.11 source package in Noble:
  Fix Released
Status in linux-nvidia-6.14 source package in Noble:
  Fix Committed
Status in linux-nvidia-lowlatency source package in Noble:
  Fix Committed
Status in linux source package in Oracular:
  Fix Released
Status in linux source package in Plucky:
  Fix Released

Bug description:
  Linux kernel upstream Commit 47c8846a49ba ("PCI: Extend ACS
  configurability") introduced bugs  that fail to configure ACS ctrl to
  the value specified by the kernel parameter. Essentially there are two
  bugs:

  
  1) When ACS is configured for multiple PCI devices using 'config_acs'
     kernel parameter, it results into error "PCI: Can't parse ACS command
     line parameter". This is due to a bug that doesn't preserve the ACS
     mask, but instead overwrites the mask with value 0.

     For example, using 'config_acs' to configure ACS ctrl for multiple BDFs
     fails:

        Kernel command line: 
pci=config_acs=1111011@0020:02:00.0;101xxxx@0039:00:00.0 "dyndbg=file 
drivers/pci/pci.c +p"
        PCI: Can't parse ACS command line parameter
        pci 0020:02:00.0: ACS mask  = 0x007f
        pci 0020:02:00.0: ACS flags = 0x007b
        pci 0020:02:00.0: Configured ACS to 0x007b

     After this fix:

        Kernel command line: 
pci=config_acs=1111011@0020:02:00.0;101xxxx@0039:00:00.0 "dyndbg=file 
drivers/pci/pci.c +p"
        pci 0020:02:00.0: ACS mask  = 0x007f
        pci 0020:02:00.0: ACS flags = 0x007b
        pci 0020:02:00.0: ACS control = 0x005f
        pci 0020:02:00.0: ACS fw_ctrl = 0x0053
        pci 0020:02:00.0: Configured ACS to 0x007b
        pci 0039:00:00.0: ACS mask  = 0x0070
        pci 0039:00:00.0: ACS flags = 0x0050
        pci 0039:00:00.0: ACS control = 0x001d
        pci 0039:00:00.0: ACS fw_ctrl = 0x0000
        pci 0039:00:00.0: Configured ACS to 0x0050

  2) In the bit manipulation logic, we copy the bit from the firmware
     settings when mask bit 0.

     For example, 'disable_acs_redir' fails to clear all three ACS P2P redir
     bits due to the wrong bit fiddling:

        Kernel command line: 
pci=disable_acs_redir=0020:02:00.0;0030:02:00.0;0039:00:00.0 "dyndbg=file 
drivers/pci/pci.c +p"
        pci 0020:02:00.0: ACS mask  = 0x002c
        pci 0020:02:00.0: ACS flags = 0xffd3
        pci 0020:02:00.0: Configured ACS to 0xfffb
        pci 0030:02:00.0: ACS mask  = 0x002c
        pci 0030:02:00.0: ACS flags = 0xffd3
        pci 0030:02:00.0: Configured ACS to 0xffdf
        pci 0039:00:00.0: ACS mask  = 0x002c
        pci 0039:00:00.0: ACS flags = 0xffd3
        pci 0039:00:00.0: Configured ACS to 0xffd3

     After this fix:

        Kernel command line: 
pci=disable_acs_redir=0020:02:00.0;0030:02:00.0;0039:00:00.0 "dyndbg=file 
drivers/pci/pci.c +p"
        pci 0020:02:00.0: ACS mask  = 0x002c
        pci 0020:02:00.0: ACS flags = 0xffd3
        pci 0020:02:00.0: ACS control = 0x007f
        pci 0020:02:00.0: ACS fw_ctrl = 0x007b
        pci 0020:02:00.0: Configured ACS to 0x0053
        pci 0030:02:00.0: ACS mask  = 0x002c
        pci 0030:02:00.0: ACS flags = 0xffd3
        pci 0030:02:00.0: ACS control = 0x005f
        pci 0030:02:00.0: ACS fw_ctrl = 0x005f
        pci 0030:02:00.0: Configured ACS to 0x0053
        pci 0039:00:00.0: ACS mask  = 0x002c
        pci 0039:00:00.0: ACS flags = 0xffd3
        pci 0039:00:00.0: ACS control = 0x001d
        pci 0039:00:00.0: ACS fw_ctrl = 0x0000
        pci 0039:00:00.0: Configured ACS to 0x0000

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2100340/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to