liyeshan 786e008e00 pcie: Adapt PCIe address space for AMD GPU on K1-X
1. In the Device Tree, merge the PCIe I/O and memory address
windows.The AMD GPU requires a large, contiguous BAR space,
which the previous separate windows could not satisfy.
2. Add a hack to correct the BAR space size calculation. The K1-X platform
reserves a total of 384MB (0x18000000) for PCIe devices (including BAR
and config space). However, the Linux kernel's allocation logic,
influenced by 128MB alignment, attempts to request a full 384MB BAR space
for the GPU.This commit reduces the requested size to 0x16000000,
ensuring the allocation succeeds, as the GPU itself only requires 258MB.

Signed-off-by: liyeshan <yeshan.li@spacemit.com>
Change-Id: Ic5610b455aac5b0dc97ac4904037865f83ad1c2c
2025-07-24 11:04:44 +08:00
2024-11-28 18:28:07 +08:00
2024-12-25 19:33:00 +08:00
2025-07-04 00:47:04 +08:00
2022-09-28 09:02:20 +02:00
2024-11-28 18:28:00 +08:00
2024-11-22 15:38:37 +01:00
2025-07-03 19:50:22 +08:00

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.
Description
No description provided
Readme 2.9 GiB
Languages
C 97.8%
Assembly 1%
Shell 0.4%
Makefile 0.3%
Python 0.2%