Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mm/page_alloc: fix min_free_kbytes calculation regarding ZONE_MOVABLE #11

Open
wants to merge 49 commits into
base: main
Choose a base branch
from

Commits on Dec 4, 2023

  1. UBUNTU: [Packaging] Initialize linux-nvidia-6.5

    Signed-off-by: Ian May <[email protected]>
    ianmay81 committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    72af838 View commit details
    Browse the repository at this point in the history
  2. Revert "UBUNTU: SAUCE: modpost: support arbitrary symbol length in mo…

    …dversion"
    
    This reverts commit 47d27f2.
    
    We need to revert this to avoid regressing any modules used in Jammy.
    
    Signed-off-by: Ian May <[email protected]>
    ianmay81 committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    97deed4 View commit details
    Browse the repository at this point in the history
  3. Revert "UBUNTU: [Packaging] ZSTD compress modules"

    This reverts commit b2638e9.
    
    This feature is not targeted for Jammy.
    
    Signed-off-by: Ian May <[email protected]>
    ianmay81 committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    9708eab View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e78de8f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f65486b View commit details
    Browse the repository at this point in the history
  6. UBUNTU: Start new release

    Ignore: yes
    Signed-off-by: Ian May <[email protected]>
    ianmay81 committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    f593997 View commit details
    Browse the repository at this point in the history
  7. UBUNTU: [Config] nvidia-6.5: update annotations

    Signed-off-by: Ian May <[email protected]>
    ianmay81 committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    c4fbf76 View commit details
    Browse the repository at this point in the history
  8. UBUNTU: Ubuntu-nvidia-6.5-6.5.0-1001.1

    Signed-off-by: Ian May <[email protected]>
    ianmay81 committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    41a06b7 View commit details
    Browse the repository at this point in the history
  9. UBUNTU: [Packaging] nvidia-6.5: disable rust support

    Ignore: yes
    Signed-off-by: Ian May <[email protected]>
    ianmay81 committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    df1c730 View commit details
    Browse the repository at this point in the history
  10. UBUNTU: Start new release

    Ignore: yes
    Signed-off-by: Ian May <[email protected]>
    ianmay81 committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    dc4814b View commit details
    Browse the repository at this point in the history
  11. UBUNTU: link-to-tracker: update tracking bug

    BugLink: https://bugs.launchpad.net/bugs/2038972
    Properties: no-test-build
    Signed-off-by: Ian May <[email protected]>
    ianmay81 committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    d68d3a0 View commit details
    Browse the repository at this point in the history
  12. UBUNTU: [Config] nvidia-6.5: update annotations

    Ignore: yes
    Signed-off-by: Ian May <[email protected]>
    ianmay81 committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    9cff22f View commit details
    Browse the repository at this point in the history
  13. UBUNTU: Ubuntu-nvidia-6.5-6.5.0-1004.4

    Signed-off-by: Ian May <[email protected]>
    ianmay81 committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    2abf94b View commit details
    Browse the repository at this point in the history
  14. NVIDIA: SAUCE: iommu/arm-smmu-v3: Allow default substream bypass with…

    … a pasid support
    
    BugLink: https://bugs.launchpad.net/bugs/2031320
    
    When an iommu_domain is set to IOMMU_DOMAIN_IDENTITY, the driver would
    skip the allocation of a CD table and set the CONFIG field of the STE
    to STRTAB_STE_0_CFG_BYPASS. This works well for devices that only have
    one substream, i.e. PASID disabled.
    
    However, there could be a use case, for a pasid capable device, that
    allows bypassing the translation at the default substream while still
    enabling the pasid feature, which means the driver should not skip the
    allocation of a CD table nor simply bypass the CONFIG field. Instead,
    the S1DSS field should be set to STRTAB_STE_1_S1DSS_BYPASS and the
    SHCFG field should be set to STRTAB_STE_1_SHCFG_INCOMING.
    
    Add s1dss in struct arm_smmu_s1_cfg, to allow a configuration in the
    finalise() to support this use case.
    
    Also, according to "13.5 Summary of attribute/permission configuration
    fields" in the reference manual, the SHCFG field value is irrelevant.
    So, set the SHCFG field of the STE always to STRTAB_STE_1_SHCFG_INCOMING
    for simplification.
    
    Signed-off-by: Nicolin Chen <[email protected]>
    Reviewed-by: Pritesh Raithatha <[email protected]>
    Acked-by: Jamie Nguyen <[email protected]>
    Acked-by: Nicolin Chen <[email protected]>
    Acked-by: Brad Figg <[email protected]>
    Acked-by: Ian May <[email protected]>
    Acked-by: Jacob Martin <[email protected]>
    Signed-off-by: Brad Figg <[email protected]>
    nicolinc authored and ianmay81 committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    6c85c1a View commit details
    Browse the repository at this point in the history
  15. NVIDIA: [Packaging] debian/dkms-versions: adding in the support for m…

    …stflint and nvidia-fs
    
    Signed-off-by: Brad Figg <[email protected]>
    nvidia-bfigg authored and ianmay81 committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    9fcdf0c View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    3fb724b View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    d49132a View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    c3f6056 View commit details
    Browse the repository at this point in the history

Commits on Dec 5, 2023

  1. UBUNTU: Start new release

    Ignore: yes
    Signed-off-by: Ian May <[email protected]>
    ianmay81 committed Dec 5, 2023
    Configuration menu
    Copy the full SHA
    3e99410 View commit details
    Browse the repository at this point in the history
  2. UBUNTU: link-to-tracker: update tracking bug

    BugLink: https://bugs.launchpad.net/bugs/2045591
    Properties: no-test-build
    Signed-off-by: Ian May <[email protected]>
    ianmay81 committed Dec 5, 2023
    Configuration menu
    Copy the full SHA
    d53ef88 View commit details
    Browse the repository at this point in the history
  3. UBUNTU: [Packaging] debian/dkms-versions: drop support for nvidia-fs

    The current version of nvidia-fs(2.17.4-0) is failing to compile
    with the 6.5 kernel.  Drop inclusion until an updated version
    is available.
    
    Signed-off-by: Ian May <[email protected]>
    ianmay81 committed Dec 5, 2023
    Configuration menu
    Copy the full SHA
    213a140 View commit details
    Browse the repository at this point in the history
  4. UBUNTU: Ubuntu-nvidia-6.5-6.5.0-1007.7

    Signed-off-by: Ian May <[email protected]>
    ianmay81 committed Dec 5, 2023
    Configuration menu
    Copy the full SHA
    8921130 View commit details
    Browse the repository at this point in the history

Commits on Jan 3, 2024

  1. NVMe/MVMEeOF: Patch NVMe/NVMeOF driver to support GDS on Linux 6.5 Ke…

    …rnel
    
    BugLink: https://bugs.launchpad.net/bugs/2043132
    
    With this change, the NVMe and NVMeOF driver would be enabled to support GPUDirectStorage(GDS).
    The change is around nvme/nvme rdma map_data()
    and unmap_data(), where the IO request is
    first intercepted to check for GDS pages and
    if it is a GDS page then the request is served
    by GDS driver component called nvidia-fs,
    else the request would be served by the standard NVMe driver code
    
    Signed-off-by: Sourab Gupta <[email protected]>
    Acked-by: Brad Figg <[email protected]>
    Acked-by: Jacob Martin <[email protected]>
    Acked-by: Ian May <[email protected]>
    Signed-off-by: Brad Figg <[email protected]>
    sourabgupta3 authored and nvidia-bfigg committed Jan 3, 2024
    Configuration menu
    Copy the full SHA
    1ed9e62 View commit details
    Browse the repository at this point in the history
  2. Patch NFS driver to support GDS with 6.5 Kernel

    BugLink: https://bugs.launchpad.net/bugs/2043132
    
    With this change, the NFS driver would be enabled to support GPUDirectStorage(GDS).
    The change is around frwr_map and frwr_unmap in the NFS driver, where the IO request
    is first intercepted to check for GDS pages and if it is a GDS page then the
    request is served by GDS driver component called nvidia-fs,
    else the request would be served by the standard NFS driver code.
    
    Signed-off-by: Sourab Gupta <[email protected]>
    Acked-by: Brad Figg <[email protected]>
    Acked-by: Jacob Martin <[email protected]>
    Acked-by: Ian May <[email protected]>
    Signed-off-by: Brad Figg <[email protected]>
    sourabgupta3 authored and nvidia-bfigg committed Jan 3, 2024
    Configuration menu
    Copy the full SHA
    6d1c36e View commit details
    Browse the repository at this point in the history

Commits on Jan 11, 2024

  1. Revert "UBUNTU: [Packaging] ZSTD compress modules"

    This reverts commit b2638e9.
    
    This feature is not targeted for Jammy.
    
    Signed-off-by: Brad Figg <[email protected]>
    Signed-off-by: Ian May <[email protected]>
    nvidia-bfigg authored and ianmay81 committed Jan 11, 2024
    Configuration menu
    Copy the full SHA
    7b5f8ed View commit details
    Browse the repository at this point in the history
  2. NVIDIA: [Packaging] debian/dkms-versions: adding nvidia-fs and removi…

    …ng packages that do not apply to this kernel.
    
    Signed-off-by: Brad Figg <[email protected]>
    Signed-off-by: Ian May <[email protected]>
    nvidia-bfigg authored and ianmay81 committed Jan 11, 2024
    Configuration menu
    Copy the full SHA
    b5a4555 View commit details
    Browse the repository at this point in the history
  3. NVIDIA: [Packaging] add nvidia build depends for nvidia-fs-dkms

    Signed-off-by: Brad Figg <[email protected]>
    Signed-off-by: Ian May <[email protected]>
    nvidia-bfigg authored and ianmay81 committed Jan 11, 2024
    Configuration menu
    Copy the full SHA
    f9dd64b View commit details
    Browse the repository at this point in the history
  4. NVIDIA: [Packaging] dkms-versions standalone provides support

    Add support for exposing rprovides data for standalone modules
    too. Switch to exposing provides as a shared debian/substvar file
    and use that in the templates.
    
    Signed-off-by: Brad Figg <[email protected]>
    Signed-off-by: Ian May <[email protected]>
    nvidia-bfigg authored and ianmay81 committed Jan 11, 2024
    Configuration menu
    Copy the full SHA
    017a23a View commit details
    Browse the repository at this point in the history
  5. NVIDIA: [Packaging] nvidia-fs version 2.17.5-1

    Signed-off-by: Brad Figg <[email protected]>
    Signed-off-by: Ian May <[email protected]>
    nvidia-bfigg authored and ianmay81 committed Jan 11, 2024
    Configuration menu
    Copy the full SHA
    7ea09e7 View commit details
    Browse the repository at this point in the history
  6. NVIDIA: [Packaging] removed the v4l2loopback module

    Signed-off-by: Brad Figg <[email protected]>
    Signed-off-by: Ian May <[email protected]>
    nvidia-bfigg authored and ianmay81 committed Jan 11, 2024
    Configuration menu
    Copy the full SHA
    400ec94 View commit details
    Browse the repository at this point in the history
  7. NVIDIA: [Packaging] removing the iwlwifi wireless driver module

    Signed-off-by: Brad Figg <[email protected]>
    Signed-off-by: Ian May <[email protected]>
    nvidia-bfigg authored and ianmay81 committed Jan 11, 2024
    Configuration menu
    Copy the full SHA
    f923861 View commit details
    Browse the repository at this point in the history
  8. iommu/arm-smmu-v3: Fix soft lockup triggered by arm_smmu_mm_invalidat…

    …e_range
    
    BugLink: https://bugs.launchpad.net/bugs/2048966
    
    When running an SVA case, the following soft lockup is triggered:
    --------------------------------------------------------------------
    watchdog: BUG: soft lockup - CPU#244 stuck for 26s!
    pstate: 83400009 (Nzcv daif +PAN -UAO +TCO +DIT -SSBS BTYPE=--)
    pc : arm_smmu_cmdq_issue_cmdlist+0x178/0xa50
    lr : arm_smmu_cmdq_issue_cmdlist+0x150/0xa50
    sp : ffff8000d83ef290
    x29: ffff8000d83ef290 x28: 000000003b9aca00 x27: 0000000000000000
    x26: ffff8000d83ef3c0 x25: da86c0812194a0e8 x24: 0000000000000000
    x23: 0000000000000040 x22: ffff8000d83ef340 x21: ffff0000c63980c0
    x20: 0000000000000001 x19: ffff0000c6398080 x18: 0000000000000000
    x17: 0000000000000000 x16: 0000000000000000 x15: ffff3000b4a3bbb0
    x14: ffff3000b4a30888 x13: ffff3000b4a3cf60 x12: 0000000000000000
    x11: 0000000000000000 x10: 0000000000000000 x9 : ffffc08120e4d6bc
    x8 : 0000000000000000 x7 : 0000000000000000 x6 : 0000000000048cfa
    x5 : 0000000000000000 x4 : 0000000000000001 x3 : 000000000000000a
    x2 : 0000000080000000 x1 : 0000000000000000 x0 : 0000000000000001
    Call trace:
     arm_smmu_cmdq_issue_cmdlist+0x178/0xa50
     __arm_smmu_tlb_inv_range+0x118/0x254
     arm_smmu_tlb_inv_range_asid+0x6c/0x130
     arm_smmu_mm_invalidate_range+0xa0/0xa4
     __mmu_notifier_invalidate_range_end+0x88/0x120
     unmap_vmas+0x194/0x1e0
     unmap_region+0xb4/0x144
     do_mas_align_munmap+0x290/0x490
     do_mas_munmap+0xbc/0x124
     __vm_munmap+0xa8/0x19c
     __arm64_sys_munmap+0x28/0x50
     invoke_syscall+0x78/0x11c
     el0_svc_common.constprop.0+0x58/0x1c0
     do_el0_svc+0x34/0x60
     el0_svc+0x2c/0xd4
     el0t_64_sync_handler+0x114/0x140
     el0t_64_sync+0x1a4/0x1a8
    --------------------------------------------------------------------
    
    Note that since 6.6-rc1 the arm_smmu_mm_invalidate_range above is renamed
    to "arm_smmu_mm_arch_invalidate_secondary_tlbs", yet the problem remains.
    
    The commit 06ff87b ("arm64: mm: remove unused functions and variable
    protoypes") fixed a similar lockup on the CPU MMU side. Yet, it can occur
    to SMMU too, since arm_smmu_mm_arch_invalidate_secondary_tlbs() is called
    typically next to MMU tlb flush function, e.g.
            tlb_flush_mmu_tlbonly {
                    tlb_flush {
                            __flush_tlb_range {
                                    // check MAX_TLBI_OPS
                            }
                    }
                    mmu_notifier_arch_invalidate_secondary_tlbs {
                            arm_smmu_mm_arch_invalidate_secondary_tlbs {
                                    // does not check MAX_TLBI_OPS
                            }
                    }
            }
    
    Clone a CMDQ_MAX_TLBI_OPS from the MAX_TLBI_OPS in tlbflush.h, since in an
    SVA case SMMU uses the CPU page table, so it makes sense to align with the
    tlbflush code. Then, replace per-page TLBI commands with a single per-asid
    TLBI command, if the request size hits this threshold.
    
    Signed-off-by: Nicolin Chen <[email protected]>
    Link: https://lore.kernel.org/r/[email protected]
    Signed-off-by: Will Deacon <[email protected]>
    [backported from commit d5afb4b]
    [ian-may: change made to function arm_smmu_mm_invalidate_range]
    Acked-by: Noah Wager <[email protected]>
    Acked-by: Jacob Martin <[email protected]>
    Signed-off-by: Ian May <[email protected]>
    ianmay81 committed Jan 11, 2024
    Configuration menu
    Copy the full SHA
    9a5dc20 View commit details
    Browse the repository at this point in the history
  9. tpm_tis_spi: Add hardware wait polling

    BugLink: https://bugs.launchpad.net/bugs/2048815
    
    TPM devices may insert wait state on last clock cycle of ADDR phase.
    For SPI controllers that support full-duplex transfers, this can be
    detected using software by reading the MISO line. For SPI controllers
    that only support half-duplex transfers, such as the Tegra QSPI, it is
    not possible to detect the wait signal from software. The QSPI
    controller in Tegra234 and Tegra241 implement hardware detection of the
    wait signal which can be enabled in the controller for TPM devices.
    
    The current TPM TIS driver only supports software detection of the wait
    signal. To support SPI controllers that use hardware to detect the wait
    signal, add the function tpm_tis_spi_transfer_half() and move the
    existing code for software based detection into a function called
    tpm_tis_spi_transfer_full(). SPI controllers that only support
    half-duplex transfers will always call tpm_tis_spi_transfer_half()
    because they cannot support software based detection. The bit
    SPI_TPM_HW_FLOW is set to indicate to the SPI controller that hardware
    detection is required and it is the responsibility of the SPI controller
    driver to determine if this is supported or not.
    
    For hardware flow control, CMD-ADDR-DATA messages are combined into a
    single message where as for software flow control exiting method of
    CMD-ADDR in a message and DATA in another is followed.
    
    [jarkko: Fixed the function names to match the code change, and the tag
    in the short summary.]
    Signed-off-by: Krishna Yarlagadda <[email protected]>
    Reviewed-by: Jarkko Sakkinen <[email protected]>
    Signed-off-by: Jarkko Sakkinen <[email protected]>
    (cherry picked from commit a86a42a)
    Acked-by: Jamie Nguyen <[email protected]>
    Acked-by: Brad Figg <[email protected]>
    Acked-by: Jacob Martin <[email protected]>
    Acked-by: Ian May <[email protected]>
    Signed-off-by: Ian May <[email protected]>
    kkyarlagadda authored and ianmay81 committed Jan 11, 2024
    Configuration menu
    Copy the full SHA
    ad0cbd2 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    3a4bea1 View commit details
    Browse the repository at this point in the history
  11. UBUNTU: Start new release

    Ignore: yes
    Signed-off-by: Ian May <[email protected]>
    ianmay81 committed Jan 11, 2024
    Configuration menu
    Copy the full SHA
    e531726 View commit details
    Browse the repository at this point in the history
  12. UBUNTU: link-to-tracker: update tracking bug

    BugLink: https://bugs.launchpad.net/bugs/2047983
    Properties: no-test-build
    Signed-off-by: Ian May <[email protected]>
    ianmay81 committed Jan 11, 2024
    Configuration menu
    Copy the full SHA
    3379855 View commit details
    Browse the repository at this point in the history
  13. UBUNTU: Ubuntu-nvidia-6.5-6.5.0-1010.10

    Signed-off-by: Ian May <[email protected]>
    ianmay81 committed Jan 11, 2024
    Configuration menu
    Copy the full SHA
    fd1f817 View commit details
    Browse the repository at this point in the history

Commits on Jan 17, 2024

  1. ACPI: thermal: Add Thermal fast Sampling Period (_TFP) support

    BugLink: https://bugs.launchpad.net/bugs/2049537
    
    Add support of "Thermal fast Sampling Period (_TFP)" for passive
    cooling.
    
    As per the ACPI specification (ACPI 6.5, Section 11.4.17 "_TFP (Thermal
    fast Sampling Period)", _TFP overrides _TSP ("Thermal Sampling Period"
    if both are present in a Thermal zone.
    
    Signed-off-by: Jeff Brasen <[email protected]>
    Co-developed-by: Sumit Gupta <[email protected]>
    Signed-off-by: Sumit Gupta <[email protected]>
    [ rjw: Changelog edits ]
    Signed-off-by: Rafael J. Wysocki <[email protected]>
    Acked-by: Jamie Nguyen <[email protected]>
    Acked-by: Sumit Gupta <[email protected]>
    (backported from commit a2ee758 linux-next)
    Acked-by: Brad Figg <[email protected]>
    Acked-by: Jacob Martin <[email protected]>
    Acked-by: Ian May <[email protected]>
    Signed-off-by: Brad Figg <[email protected]>
    jbrasen authored and nvidia-bfigg committed Jan 17, 2024
    Configuration menu
    Copy the full SHA
    75518c9 View commit details
    Browse the repository at this point in the history
  2. ACPI: processor: reduce CPUFREQ thermal reduction pctg for Tegra241

    BugLink: https://bugs.launchpad.net/bugs/2049537
    
    Current implementation of processor_thermal performs software throttling
    in fixed steps of "20%" which can be too coarse for some platforms.
    We observed some performance gain after reducing the throttle percentage.
    Change the CPUFREQ thermal reduction percentage and maximum thermal steps
    to be configurable. Also, update the default values of both for Nvidia
    Tegra241 (Grace) SoC. The thermal reduction percentage is reduced to "5%"
    and accordingly the maximum number of thermal steps are increased as they
    are derived from the reduction percentage.
    
    Signed-off-by: Srikar Srimath Tirumala <[email protected]>
    Co-developed-by: Sumit Gupta <[email protected]>
    Signed-off-by: Sumit Gupta <[email protected]>
    Acked-by: Sudeep Holla <[email protected]>
    Acked-by: Hanjun Guo <[email protected]>
    Signed-off-by: Rafael J. Wysocki <[email protected]>
    Acked-by: Jamie Nguyen <[email protected]>
    Acked-by: Sumit Gupta <[email protected]>
    (cherry picked from commit 310293a linux-next)
    Acked-by: Brad Figg <[email protected]>
    Acked-by: Jacob Martin <[email protected]>
    Acked-by: Ian May <[email protected]>
    Signed-off-by: Brad Figg <[email protected]>
    Srikar Srimath Tirumala authored and nvidia-bfigg committed Jan 17, 2024
    Configuration menu
    Copy the full SHA
    2dbf8a8 View commit details
    Browse the repository at this point in the history
  3. coresight: etm4x: Allocate and device assign 'struct etmv4_drvdata' e…

    …arlier
    
    BugLink: https://bugs.launchpad.net/bugs/2049537
    
    Allocate and device assign 'struct etmv4_drvdata' earlier during the driver
    probe, ensuring that it can be retrieved in power management based runtime
    callbacks if required. This will also help in dropping iomem base address
    argument from the function etm4_probe() later.
    
    Cc: Mathieu Poirier <[email protected]>
    Cc: Suzuki K Poulose <[email protected]>
    Cc: Mike Leach <[email protected]>
    Cc: Leo Yan <[email protected]>
    Cc: [email protected]
    Cc: [email protected]
    Cc: [email protected]
    Signed-off-by: Anshuman Khandual <[email protected]>
    Signed-off-by: Suzuki K Poulose <[email protected]>
    Link: https://lore.kernel.org/r/[email protected]
    (cherry picked from commit 3095e90 linux)
    Signed-off-by: Tushar Dave <[email protected]>
    Acked-by: Brad Figg <[email protected]>
    Acked-by: Jacob Martin <[email protected]>
    Acked-by: Ian May <[email protected]>
    Signed-off-by: Brad Figg <[email protected]>
    Anshuman Khandual authored and nvidia-bfigg committed Jan 17, 2024
    Configuration menu
    Copy the full SHA
    815a682 View commit details
    Browse the repository at this point in the history
  4. coresight: etm4x: Drop iomem 'base' argument from etm4_probe()

    BugLink: https://bugs.launchpad.net/bugs/2049537
    
    'struct etm4_drvdata' itself can carry the base address before etm4_probe()
    gets called. Just drop that redundant argument from etm4_probe().
    
    Cc: Mathieu Poirier <[email protected]>
    Cc: Suzuki K Poulose <[email protected]>
    Cc: Mike Leach <[email protected]>
    Cc: Leo Yan <[email protected]>
    Cc: [email protected]
    Cc: [email protected]
    Cc: [email protected]
    Reviewed-by: James Clark <[email protected]>
    Signed-off-by: Anshuman Khandual <[email protected]>
    Signed-off-by: Suzuki K Poulose <[email protected]>
    Link: https://lore.kernel.org/r/[email protected]
    (cherry picked from commit 4e3b9a6 linux)
    Signed-off-by: Tushar Dave <[email protected]>
    Acked-by: Brad Figg <[email protected]>
    Acked-by: Jacob Martin <[email protected]>
    Acked-by: Ian May <[email protected]>
    Signed-off-by: Brad Figg <[email protected]>
    Anshuman Khandual authored and nvidia-bfigg committed Jan 17, 2024
    Configuration menu
    Copy the full SHA
    91ab75b View commit details
    Browse the repository at this point in the history
  5. coresight: etm4x: Drop pid argument from etm4_probe()

    BugLink: https://bugs.launchpad.net/bugs/2049537
    
    Coresight device pid can be retrieved from its iomem base address, which is
    stored in 'struct etm4x_drvdata'. This drops pid argument from etm4_probe()
    and 'struct etm4_init_arg'. Instead etm4_check_arch_features() derives the
    coresight device pid with a new helper coresight_get_pid(), right before it
    is consumed in etm4_hisi_match_pid().
    
    Cc: Mathieu Poirier <[email protected]>
    Cc: Suzuki K Poulose <[email protected]>
    Cc: Mike Leach <[email protected]>
    Cc: Leo Yan <[email protected]>
    Cc: [email protected]
    Cc: [email protected]
    Cc: [email protected]
    Signed-off-by: Anshuman Khandual <[email protected]>
    Signed-off-by: Suzuki K Poulose <[email protected]>
    Link: https://lore.kernel.org/r/[email protected]
    (cherry picked from commit 5a1c709 linux)
    Signed-off-by: Tushar Dave <[email protected]>
    Acked-by: Brad Figg <[email protected]>
    Acked-by: Jacob Martin <[email protected]>
    Acked-by: Ian May <[email protected]>
    Signed-off-by: Brad Figg <[email protected]>
    Anshuman Khandual authored and nvidia-bfigg committed Jan 17, 2024
    Configuration menu
    Copy the full SHA
    b472fba View commit details
    Browse the repository at this point in the history
  6. coresight: etm4x: Change etm4_platform_driver driver for MMIO devices

    BugLink: https://bugs.launchpad.net/bugs/2049537
    
    Add support for handling MMIO based devices via platform driver. We need to
    make sure that :
    
    1) The APB clock, if present is enabled at probe and via runtime_pm ops
    2) Use the ETM4x architecture or CoreSight architecture registers to
       identify a device as CoreSight ETM4x, instead of relying a white list of
       "Peripheral IDs"
    
    The driver doesn't get to handle the devices yet, until we wire the ACPI
    changes to move the devices to be handled via platform driver than the
    etm4_amba driver.
    
    Cc: Mathieu Poirier <[email protected]>
    Cc: Suzuki K Poulose <[email protected]>
    Cc: Mike Leach <[email protected]>
    Cc: Leo Yan <[email protected]>
    Cc: [email protected]
    Cc: [email protected]
    Cc: [email protected]
    Acked-by: Sudeep Holla <[email protected]>
    Signed-off-by: Anshuman Khandual <[email protected]>
    Signed-off-by: Suzuki K Poulose <[email protected]>
    Link: https://lore.kernel.org/r/[email protected]
    (cherry picked from commit 73d779a linux)
    Signed-off-by: Tushar Dave <[email protected]>
    Acked-by: Brad Figg <[email protected]>
    Acked-by: Jacob Martin <[email protected]>
    Acked-by: Ian May <[email protected]>
    Signed-off-by: Brad Figg <[email protected]>
    Anshuman Khandual authored and nvidia-bfigg committed Jan 17, 2024
    Configuration menu
    Copy the full SHA
    2ced489 View commit details
    Browse the repository at this point in the history
  7. coresight: etm4x: Add ACPI support in platform driver

    BugLink: https://bugs.launchpad.net/bugs/2049537
    
    Drop ETM4X ACPI ID from the AMBA ACPI device list, and instead just move it
    inside the new ACPI devices list detected and used via platform driver.
    
    Cc: "Rafael J. Wysocki" <[email protected]>
    Cc: Len Brown <[email protected]>
    Cc: Mathieu Poirier <[email protected]>
    Cc: Suzuki K Poulose <[email protected]>
    Cc: Mike Leach <[email protected]>
    Cc: Leo Yan <[email protected]>
    Cc: Sudeep Holla <[email protected]>
    Cc: Lorenzo Pieralisi <[email protected]>
    Cc: [email protected]
    Cc: [email protected]
    Cc: [email protected]
    Cc: [email protected]
    Reviewed-by: Sudeep Holla <[email protected]> (for ACPI specific changes)
    Acked-by: "Rafael J. Wysocki" <[email protected]>
    Signed-off-by: Suzuki K Poulose <[email protected]>
    Signed-off-by: Anshuman Khandual <[email protected]>
    Tested-by: Tanmay Jagdale <[email protected]>
    Link: https://lore.kernel.org/r/[email protected]
    (cherry picked from commit 134124a linux)
    Signed-off-by: Tushar Dave <[email protected]>
    Acked-by: Brad Figg <[email protected]>
    Acked-by: Jacob Martin <[email protected]>
    Acked-by: Ian May <[email protected]>
    Signed-off-by: Brad Figg <[email protected]>
    Suzuki K Poulose authored and nvidia-bfigg committed Jan 17, 2024
    Configuration menu
    Copy the full SHA
    2c5e1aa View commit details
    Browse the repository at this point in the history
  8. NVIDIA: SAUCE: RDMA/core: Introduce peer memory interface

    BugLink: https://bugs.launchpad.net/bugs/2049537
    
    The peer_memory_client scheme allows a driver to register with the ib_umem
    system that it has the ability to understand user virtual address ranges
    that are not compatible with get_user_pages(). For instance VMAs created
    with io_remap_pfn_range(), or other driver special VMA.
    
    For ranges the interface understands it can provide a DMA mapped sg_table
    for use by the ib_umem, allowing user virtual ranges that cannot be
    supported by get_user_pages() to be used as umems for RDMA.
    
    This is designed to preserve the kABI, no functions or structures are
    changed, only new symbols are added:
    
     ib_register_peer_memory_client
     ib_unregister_peer_memory_client
     ib_umem_activate_invalidation_notifier
     ib_umem_get_peer
    
    And a bitfield in struct ib_umem uses more bits.
    
    This interface is compatible with the two out of tree GPU drivers:
     https://github.com/RadeonOpenCompute/ROCK-Kernel-Driver/blob/master/drivers/gpu/drm/amd/amdkfd/kfd_peerdirect.c
     https://github.com/Mellanox/nv_peer_memory/blob/master/nv_peer_mem.c
    
    Signed-off-by: Yishai Hadas <[email protected]>
    Signed-off-by: Feras Daoud <[email protected]>
    Signed-off-by: Jason Gunthorpe <[email protected]>
    Signed-off-by: Leon Romanovsky <[email protected]>
    Acked-by: Brad Figg <[email protected]>
    Acked-by: Jacob Martin <[email protected]>
    Acked-by: Ian May <[email protected]>
    Signed-off-by: Brad Figg <[email protected]>
    jgunthorpe authored and nvidia-bfigg committed Jan 17, 2024
    Configuration menu
    Copy the full SHA
    2c967d5 View commit details
    Browse the repository at this point in the history
  9. UBUNTU: Start new release

    Ignore: yes
    Signed-off-by: Ian May <[email protected]>
    ianmay81 committed Jan 17, 2024
    Configuration menu
    Copy the full SHA
    063936d View commit details
    Browse the repository at this point in the history
  10. UBUNTU: link-to-tracker: update tracking bug

    BugLink: https://bugs.launchpad.net/bugs/2049653
    Properties: no-test-build
    Signed-off-by: Ian May <[email protected]>
    ianmay81 committed Jan 17, 2024
    Configuration menu
    Copy the full SHA
    a5fd9af View commit details
    Browse the repository at this point in the history
  11. UBUNTU: Ubuntu-nvidia-6.5-6.5.0-1011.11

    Signed-off-by: Ian May <[email protected]>
    ianmay81 committed Jan 17, 2024
    Configuration menu
    Copy the full SHA
    30f3faf View commit details
    Browse the repository at this point in the history

Commits on Mar 1, 2024

  1. mm/page_alloc: fix min_free_kbytes calculation regarding ZONE_MOVABLE

    The current calculation of min_free_kbytes only uses ZONE_DMA and
    ZONE_NORMAL pages,but the ZONE_MOVABLE zone->_watermark[WMARK_MIN] will
    also divide part of min_free_kbytes.This will cause the min watermark of
    ZONE_NORMAL to be too small in the presence of ZONE_MOVEABLE.
    
    __GFP_HIGH and PF_MEMALLOC allocations usually don't need movable zone
    pages, so just like ZONE_HIGHMEM, cap pages_min to a small value in
    __setup_per_zone_wmarks().
    
    On my testing machine with 16GB of memory (transparent hugepage is turned
    off by default, and movablecore=12G is configured) The following is a
    comparative test data of watermark_min
    
    		no patch	add patch
    ZONE_DMA	1		8
    ZONE_DMA32	151		709
    ZONE_NORMAL	233		1113
    ZONE_MOVABLE	1434		128
    min_free_kbytes	7288		7326
    
    Link: https://lkml.kernel.org/r/[email protected]
    Signed-off-by: liuq <[email protected]>
    Reviewed-by: "Huang, Ying" <[email protected]>
    Signed-off-by: Andrew Morton <[email protected]>
    (cherry picked from commit 416ef04 linux)
    Signed-off-by: Jamie Nguyen <[email protected]>
    Signed-off-by: Jan Vesely <[email protected]>
    liuq authored and jamieNguyenNVIDIA committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    34f690a View commit details
    Browse the repository at this point in the history