* PCI IO memory resource allocation @ 2011-08-17 11:33 J.Hwan Kim 2011-08-18 6:01 ` Vladimir Murzin 0 siblings, 1 reply; 4+ messages in thread From: J.Hwan Kim @ 2011-08-17 11:33 UTC (permalink / raw) To: kernelnewbies Hi, everyone In kernel source, where is the PCI IO memory resource allocation is done? (memory mapped io) And can you explain the IO memory resource allocation mechanism? Thanks in advance Best Regards, J.Hwan Kim ^ permalink raw reply [flat|nested] 4+ messages in thread
* PCI IO memory resource allocation 2011-08-17 11:33 PCI IO memory resource allocation J.Hwan Kim @ 2011-08-18 6:01 ` Vladimir Murzin 2011-08-18 16:04 ` J.Hwan.Kim 0 siblings, 1 reply; 4+ messages in thread From: Vladimir Murzin @ 2011-08-18 6:01 UTC (permalink / raw) To: kernelnewbies On Wed, Aug 17, 2011 at 3:33 PM, J.Hwan Kim <frog1120@gmail.com> wrote: > Hi, everyone > > In kernel source, where is the PCI IO memory resource allocation is done? > (memory mapped io) > > And can you explain the IO memory resource allocation mechanism? > > Thanks in advance > > Best Regards, > > J.Hwan Kim > > > > _______________________________________________ > Kernelnewbies mailing list > Kernelnewbies at kernelnewbies.org > http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies > Hi J.Hwan, Have you tried reading some books like Linux Device Drivers by Jonathan Corbet, Alessandro Rubini, and Greg Kroah-Hartman? In mentioned book there is a chapter dedicated to PCI subsystem. ^ permalink raw reply [flat|nested] 4+ messages in thread
* PCI IO memory resource allocation 2011-08-18 6:01 ` Vladimir Murzin @ 2011-08-18 16:04 ` J.Hwan.Kim 2011-08-18 17:50 ` Erlon Cruz 0 siblings, 1 reply; 4+ messages in thread From: J.Hwan.Kim @ 2011-08-18 16:04 UTC (permalink / raw) To: kernelnewbies On 2011? 08? 18? 15:01, Vladimir Murzin wrote: > On Wed, Aug 17, 2011 at 3:33 PM, J.Hwan Kim<frog1120@gmail.com> wrote: >> Hi, everyone >> >> In kernel source, where is the PCI IO memory resource allocation is done? >> (memory mapped io) >> >> And can you explain the IO memory resource allocation mechanism? >> >> Thanks in advance >> >> Best Regards, >> >> J.Hwan Kim > Hi J.Hwan, > > Have you tried reading some books like Linux Device Drivers by > Jonathan Corbet, Alessandro > Rubini, and Greg Kroah-Hartman? In mentioned book there is a chapter > dedicated to PCI subsystem. > Thank you for reply. As far as I know, the PCI mem resouces are allocated mainly by BIOS on Intel based system, but they can also be allocated by linux kernel according to boot command option. I tried to find the routine in kernel source directory, but it was not easy to find it. I want to find the source code in which linux kernel allocates the I/O memory for PCI device. I had a problem in my pci device which uses SR-IOV function indicates that the MMIO is allocated in sufficiently and my BIOS is old version, so I hope to solve the problem using the linux kerenl for allocating the I/O mem for the pci device and to know where the source code is for that. Best Regards, J.Hwan Kim ^ permalink raw reply [flat|nested] 4+ messages in thread
* PCI IO memory resource allocation 2011-08-18 16:04 ` J.Hwan.Kim @ 2011-08-18 17:50 ` Erlon Cruz 0 siblings, 0 replies; 4+ messages in thread From: Erlon Cruz @ 2011-08-18 17:50 UTC (permalink / raw) To: kernelnewbies You should have a look in Linux Device Drivers, Cap. 9, and Cap. 12. On Thu, Aug 18, 2011 at 1:04 PM, J.Hwan.Kim <j.hwan.kim99@gmail.com> wrote: > On 2011? 08? 18? 15:01, Vladimir Murzin wrote: > > On Wed, Aug 17, 2011 at 3:33 PM, J.Hwan Kim<frog1120@gmail.com> wrote: > >> Hi, everyone > >> > >> In kernel source, where is the PCI IO memory resource allocation is > done? > >> (memory mapped io) > >> > >> And can you explain the IO memory resource allocation mechanism? > >> > >> Thanks in advance > >> > >> Best Regards, > >> > >> J.Hwan Kim > > > Hi J.Hwan, > > > > Have you tried reading some books like Linux Device Drivers by > > Jonathan Corbet, Alessandro > > Rubini, and Greg Kroah-Hartman? In mentioned book there is a chapter > > dedicated to PCI subsystem. > > > > Thank you for reply. > > As far as I know, the PCI mem resouces are allocated mainly by BIOS on > Intel based system, but they can also be allocated by linux kernel > according to boot command option. > I tried to find the routine in kernel source directory, but it was not > easy to find it. > > I want to find the source code in which linux kernel allocates the I/O > memory for PCI device. > I had a problem in my pci device which uses SR-IOV function indicates that > the MMIO is allocated in sufficiently and my BIOS is old version, > so I hope to solve the problem using the linux kerenl for allocating the > I/O mem > for the pci device and to know where the source code is for that. > > Best Regards, > J.Hwan Kim > > > _______________________________________________ > Kernelnewbies mailing list > Kernelnewbies at kernelnewbies.org > http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20110818/3ce732ca/attachment.html ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-08-18 17:50 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2011-08-17 11:33 PCI IO memory resource allocation J.Hwan Kim 2011-08-18 6:01 ` Vladimir Murzin 2011-08-18 16:04 ` J.Hwan.Kim 2011-08-18 17:50 ` Erlon Cruz
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.