Re: [Haifux] Lecture about PCI?
Hi, A good idea for a very interesting subject ! I'm also interested, and I also do think that two lectures on this are better than one, if it is possible from your side. DanS On Tue, Feb 15, 2011 at 11:33 PM, Eli Billauer wrote: > Hi all, > > > These days I'm working on making a PCI Express interface in hardware (FPGA) > and writing a Linux driver for it. When I'll be done with that, I suppose > I'll know a thing or two about the PCI bus. > > > Now, not that it's something to happen in the near future, but I just > wondered: What's the level of interest in a lecture about PCI (or more like > PCI Express?). I'm talking about the hardware (and protocol) principles of a > PCI vs PCIe buses (which are completely different), a bird's view on the > configuration of a PCI device ("plug and play", done by BIOS for most of > us), then a bit about bus mastering and DMA, and wrap it all up with > describing the anatomy of a Linux PCI driver. Just so one knows what it's > trying to accomplish when reading the source. Ah, and we also have IRQ's and > MSI's. A lot of fun, in short. > > > This is a pretty heavy lecture to prepare, but if I'll see you guys here > getting crazy about the idea, I'll consider it. :) > > > Eli > > -- > Web: http://www.billauer.co.il > > ___ > Haifux mailing list > Haifux@haifux.org > http://hamakor.org.il/cgi-bin/mailman/listinfo/haifux > ___ Haifux mailing list Haifux@haifux.org http://hamakor.org.il/cgi-bin/mailman/listinfo/haifux
Re: [Haifux] Lecture about PCI?
OK, thanks, I got the hint. :) As for the taking a double slot: I know the tradition of going into the small details, so yes, including how to write a driver down to the code level would indeed take two slots at least. This was not my intention, since I've learned that all these details are forgotten until the information becomes really useful (and the kernel's API may very well change until then...). It's the principles that one remembers, and that the source code says little about. The thing is that without any prior knowledge, it's very difficult to even read the code of a driver, because it's not clear what the driver needs to accomplish, and why it's doing it the way it does. My thought was to fill that gap. And also give some background about how this magic works. I mean, I could take it down to the packet level between a PCIe card and the CPU, (and several other down-to-earth issues), but unless you're a hardware designer, you have nothing to do with that knowledge. Eli -- Web: http://www.billauer.co.il ___ Haifux mailing list Haifux@haifux.org http://hamakor.org.il/cgi-bin/mailman/listinfo/haifux
Re: [Haifux] Lecture about PCI?
On Tue, Feb 15, 2011 at 11:33:14PM +0200, Eli Billauer wrote: > This is a pretty heavy lecture to prepare, but if I'll see you guys > here getting crazy about the idea, I'll consider it. :) Count me in. I think that to do these subjects justice you'll need more than 2 hours... Cheers, Muli ___ Haifux mailing list Haifux@haifux.org http://hamakor.org.il/cgi-bin/mailman/listinfo/haifux
Re: [Haifux] Lecture about PCI?
Hi, Great idea, I would love to attend. rgs, Rami On Tue, Feb 15, 2011 at 11:33 PM, Eli Billauer wrote: > Hi all, > > > These days I'm working on making a PCI Express interface in hardware (FPGA) > and writing a Linux driver for it. When I'll be done with that, I suppose > I'll know a thing or two about the PCI bus. > > > Now, not that it's something to happen in the near future, but I just > wondered: What's the level of interest in a lecture about PCI (or more like > PCI Express?). I'm talking about the hardware (and protocol) principles of a > PCI vs PCIe buses (which are completely different), a bird's view on the > configuration of a PCI device ("plug and play", done by BIOS for most of > us), then a bit about bus mastering and DMA, and wrap it all up with > describing the anatomy of a Linux PCI driver. Just so one knows what it's > trying to accomplish when reading the source. Ah, and we also have IRQ's and > MSI's. A lot of fun, in short. > > > This is a pretty heavy lecture to prepare, but if I'll see you guys here > getting crazy about the idea, I'll consider it. :) > > > Eli > > -- > Web: http://www.billauer.co.il > > ___ > Haifux mailing list > Haifux@haifux.org > http://hamakor.org.il/cgi-bin/mailman/listinfo/haifux > ___ Haifux mailing list Haifux@haifux.org http://hamakor.org.il/cgi-bin/mailman/listinfo/haifux
Re: [Haifux] Lecture about PCI?
"me too". are you sure a single lecture will suffice for these two topics (i.e. both hardware coverage, and PCI drivers coverage)? also, since the drivers coverage will probably assume basic knowledge of writing drivers, while the hardware thing can be interesting to non-kernel-programmers as well - it may be logical to split this in two. --guy On Tue, 2011-02-15 at 23:33 +0200, Eli Billauer wrote: > Hi all, > > > These days I'm working on making a PCI Express interface in hardware > (FPGA) and writing a Linux driver for it. When I'll be done with that, I > suppose I'll know a thing or two about the PCI bus. > > > Now, not that it's something to happen in the near future, but I just > wondered: What's the level of interest in a lecture about PCI (or more > like PCI Express?). I'm talking about the hardware (and protocol) > principles of a PCI vs PCIe buses (which are completely different), a > bird's view on the configuration of a PCI device ("plug and play", done > by BIOS for most of us), then a bit about bus mastering and DMA, and > wrap it all up with describing the anatomy of a Linux PCI driver. Just > so one knows what it's trying to accomplish when reading the source. Ah, > and we also have IRQ's and MSI's. A lot of fun, in short. > > > This is a pretty heavy lecture to prepare, but if I'll see you guys here > getting crazy about the idea, I'll consider it. :) > > >Eli > ___ Haifux mailing list Haifux@haifux.org http://hamakor.org.il/cgi-bin/mailman/listinfo/haifux
Re: [Haifux] Lecture about PCI?
I'll thank you very much. Nir. On Tue, 15 Feb 2011, Eli Billauer wrote: > Hi all, > > > These days I'm working on making a PCI Express interface in hardware > (FPGA) and writing a Linux driver for it. When I'll be done with that, I > suppose I'll know a thing or two about the PCI bus. > > > Now, not that it's something to happenin the near future, but I just > wondered: What's the level of interest in a lecture about PCI (or more > like PCI Express?). I'm talking about the hardware (and protocol) > principles of a PCI vs PCIe buses (which are completely different), a > bird's view on the configuration of a PCI device ("plug and play", done > by BIOS for most of us), then a bit about bus mastering and DMA, and > wrap it all up with describing the anatomy of a Linux PCI driver. Just > so one knows what it's trying to accomplish when reading the source. Ah, > and we also have IRQ's and MSI's. A lot of fun, in short. > > > This is a pretty heavy lecture to prepare, but if I'll see you guys here > getting crazy about the idea, I'll consider it. :) > > > Eli > > -- > Web: http://www.billauer.co.il > > ___ > Haifux mailing list > Haifux@haifux.org > http://hamakor.org.il/cgi-bin/mailman/listinfo/haifux > ___ Haifux mailing list Haifux@haifux.org http://hamakor.org.il/cgi-bin/mailman/listinfo/haifux
Re: [Haifux] Lecture about PCI?
Oh, that's a good idea! I'm interested. It will be great to make some order in my head redrawing that PCI thing. I'll be glad to hear about both PCI and PCIe. And your lecture agenda sounds just right. On 15 בפבר 2011, at 23:33, Eli Billauer wrote: > Hi all, > > > These days I'm working on making a PCI Express interface in hardware (FPGA) > and writing a Linux driver for it. When I'll be done with that, I suppose > I'll know a thing or two about the PCI bus. > > > Now, not that it's something to happen in the near future, but I just > wondered: What's the level of interest in a lecture about PCI (or more like > PCI Express?). I'm talking about the hardware (and protocol) principles of a > PCI vs PCIe buses (which are completely different), a bird's view on the > configuration of a PCI device ("plug and play", done by BIOS for most of us), > then a bit about bus mastering and DMA, and wrap it all up with describing > the anatomy of a Linux PCI driver. Just so one knows what it's trying to > accomplish when reading the source. Ah, and we also have IRQ's and MSI's. A > lot of fun, in short. > > > This is a pretty heavy lecture to prepare, but if I'll see you guys here > getting crazy about the idea, I'll consider it. :) > > > Eli > > -- > Web: http://www.billauer.co.il > > ___ > Haifux mailing list > Haifux@haifux.org > http://hamakor.org.il/cgi-bin/mailman/listinfo/haifux ___ Haifux mailing list Haifux@haifux.org http://hamakor.org.il/cgi-bin/mailman/listinfo/haifux
[Haifux] Lecture about PCI?
Hi all, These days I'm working on making a PCI Express interface in hardware (FPGA) and writing a Linux driver for it. When I'll be done with that, I suppose I'll know a thing or two about the PCI bus. Now, not that it's something to happen in the near future, but I just wondered: What's the level of interest in a lecture about PCI (or more like PCI Express?). I'm talking about the hardware (and protocol) principles of a PCI vs PCIe buses (which are completely different), a bird's view on the configuration of a PCI device ("plug and play", done by BIOS for most of us), then a bit about bus mastering and DMA, and wrap it all up with describing the anatomy of a Linux PCI driver. Just so one knows what it's trying to accomplish when reading the source. Ah, and we also have IRQ's and MSI's. A lot of fun, in short. This is a pretty heavy lecture to prepare, but if I'll see you guys here getting crazy about the idea, I'll consider it. :) Eli -- Web: http://www.billauer.co.il ___ Haifux mailing list Haifux@haifux.org http://hamakor.org.il/cgi-bin/mailman/listinfo/haifux