Skip to contentSkip to conversation

Seeking information about LKMP Project - "Linux PCI - Remove driver-local definitions of standard PCI symbols"

Linux-kernel-mentees Puranjay Mohan 2 participants 2 messages May 1, 2019 – May 2, 2019 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

Hello,
I wanted to get a few things clarified in relation to the aforementioned project in the subject.

The description of the project states that some drivers define their own copies of PCI_COMMAND, PCI_STATUS, etc.

If we remove these definitions,
then for the driver to work it has to include "include/uapi/linux/pci_regs.h",
so should we also add the include statement in the driver source code or it is already included by some other way.

Kindly help me resolve this confusion as I am a beginner at this. If the question sounds wrong or lame, please forgive me.
I want to work on this project as a part of the Linux kernel mentorship program.

Thanks and Regards

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw
Quoted 23 lines · Shuah Khan
Quoted 5 lines · Puranjay Mohan

Hello,
I wanted to get a few things clarified in relation to the aforementioned project in the subject.

The description of the project states that some drivers define their own copies of PCI_COMMAND, PCI_STATUS, etc.

Quoted 8 lines

If we remove these definitions,
then for the driver to work it has to include "include/uapi/linux/pci_regs.h",
so should we also add the include statement in the driver source code or it is already included by some other way.

Kindly help me resolve this confusion as I am a beginner at this. If the question sounds wrong or lame, please forgive me.
I want to work on this project as a part of the Linux kernel mentorship program.

off list:

Hi Puranjay,

Are you interested in working on a PCI project? These projects listed on the project page are the ones mentees will work on once they have been selected after the application process is complete.

Quoted 7 lines

I just want to make sure you aren't working on these projects yet. You have several required contributions to complete to complete the application process.

thanks,
-- Shuah

Hi,
I know we are not supposed to work on these projects right now. While reading through the projects page, I found this one interesting and out of curiosity wanted to know how it will work.

Thanks,