Re: Handling multiple inheritance [for CXL]

2021-01-27 Thread Ben Widawsky
On 21-01-27 22:33:37, Igor Mammedov wrote: > On Wed, 27 Jan 2021 12:25:44 -0800 > Ben Widawsky wrote: > > > On 21-01-27 21:18:24, Igor Mammedov wrote: > > > On Tue, 26 Jan 2021 13:33:52 -0800 > > > Ben Widawsky wrote: > > > > > > > I'm working on CXL 2.0 type 3 memory devices [1]. In short, t

Re: Handling multiple inheritance [for CXL]

2021-01-27 Thread Igor Mammedov
On Wed, 27 Jan 2021 12:25:44 -0800 Ben Widawsky wrote: > On 21-01-27 21:18:24, Igor Mammedov wrote: > > On Tue, 26 Jan 2021 13:33:52 -0800 > > Ben Widawsky wrote: > > > > > I'm working on CXL 2.0 type 3 memory devices [1]. In short, these are > > > PCIe devices > > > that have persistent mem

Re: Handling multiple inheritance [for CXL]

2021-01-27 Thread Ben Widawsky
On 21-01-27 21:18:24, Igor Mammedov wrote: > On Tue, 26 Jan 2021 13:33:52 -0800 > Ben Widawsky wrote: > > > I'm working on CXL 2.0 type 3 memory devices [1]. In short, these are PCIe > > devices > > that have persistent memory on them. As such, it would be nice to inherit > > from > > both a PC

Re: Handling multiple inheritance [for CXL]

2021-01-27 Thread Igor Mammedov
On Tue, 26 Jan 2021 13:33:52 -0800 Ben Widawsky wrote: > I'm working on CXL 2.0 type 3 memory devices [1]. In short, these are PCIe > devices > that have persistent memory on them. As such, it would be nice to inherit from > both a PCI_DEVICE class as well as an NVDIMM device class. > > Truth b

Re: Handling multiple inheritance [for CXL]

2021-01-27 Thread Ben Widawsky
On 21-01-27 10:06:48, Daniel P. Berrangé wrote: > On Tue, Jan 26, 2021 at 01:33:52PM -0800, Ben Widawsky wrote: > > I'm working on CXL 2.0 type 3 memory devices [1]. In short, these are PCIe > > devices > > that have persistent memory on them. As such, it would be nice to inherit > > from > > bot

Re: Handling multiple inheritance [for CXL]

2021-01-27 Thread Daniel P . Berrangé
On Tue, Jan 26, 2021 at 01:33:52PM -0800, Ben Widawsky wrote: > I'm working on CXL 2.0 type 3 memory devices [1]. In short, these are PCIe > devices > that have persistent memory on them. As such, it would be nice to inherit from > both a PCI_DEVICE class as well as an NVDIMM device class. > > Tr