[PATCH v4 00/12] Fix and improve the Rockchip endpoint driver
Damien Le Moal
dlemoal at kernel.org
Tue Oct 15 23:15:11 PDT 2024
On 10/16/24 2:32 PM, Anand Moon wrote:
> Hi Damien,
>
> On Fri, 11 Oct 2024 at 17:55, Damien Le Moal <dlemoal at kernel.org> wrote:
>>
>> This patch series fix the PCI address mapping handling of the Rockchip
>> endpoint driver, refactor some of its code, improves link training and
>> adds handling of the #PERST signal.
>>
>> This series is organized as follows:
>> - Patch 1 fixes the rockchip ATU programming
>> - Patch 2, 3 and 4 introduce small code improvments
>> - Patch 5 implements the .get_mem_map() operation to make the RK3399
>> endpoint controller driver fully functional with the new
>> pci_epc_mem_map() function
>> - Patch 6, 7, 8 and 9 refactor the driver code to make it more readable
>> - Patch 10 introduces the .stop() endpoint controller operation to
>> correctly disable the endpopint controller after use
>> - Patch 11 improves link training
>> - Patch 12 implements handling of the #PERST signal
>>
>> This patch series depends on the PCI endpoint core patches from the
>> V5 series "Improve PCI memory mapping API". The patches were tested
>> using a Pine Rockpro64 board used as an endpoint with the test endpoint
>> function driver and a prototype nvme endpoint function driver.
>
> Can we test this feature on Radxa Rock PI 4b hardware with an external
> nvme card?
This patch series is to fix the PCI controller operation in endpoint (EP) mode.
If you only want to use an NVMe device connected to the board M.2 M-Key slot,
these patches are not needed. If that board PCI controller does not work as a
PCI host (RC mode), then these patches will not help.
--
Damien Le Moal
Western Digital Research
More information about the Linux-rockchip
mailing list