qemu-arm
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [PATCH] hw/arm/smmuv3: Support non-PCI/PCIe devices connection


From: Li, Chunming
Subject: RE: [PATCH] hw/arm/smmuv3: Support non-PCI/PCIe devices connection
Date: Tue, 24 Aug 2021 08:21:33 +0000


> -----Original Message-----
> From: Peter Maydell [mailto:peter.maydell@linaro.org]
> Sent: Friday, August 20, 2021 5:15 PM
> To: Li, Chunming
> Cc: eric.auger@redhat.com; qemu-arm@nongnu.org; qemu-devel@nongnu.org;
> Wen, Jianxian; Liu, Renwei
> Subject: Re: [PATCH] hw/arm/smmuv3: Support non-PCI/PCIe devices
> connection
> 
> On Fri, 20 Aug 2021 at 10:04, Li, Chunming
> <Chunming.Li@verisilicon.com> wrote:
> >
> > > On Fri, 20 Aug 2021 at 03:36, Li, Chunming
> > > <Chunming.Li@verisilicon.com> wrote:
> > > >
> > > > The current SMMU V3 device model only support PCI/PCIe devices,
> > > > so we update it to support non-PCI/PCIe devices.
> > > >
> > > >     hw/arm/smmuv3:
> > > >         . Create IOMMU memory regions for non-PCI/PCIe devices
> based
> > > on their SID
> > > >         . Add sid-map property to store non-PCI/PCIe devices SID
> > > >         . Update implementation of CFGI commands based on device
> SID
> > > >     hw/arm/smmu-common:
> > > >         . Differentiate PCI/PCIe and non-PCI/PCIe devices SID
> getting
> > > strategy
> > > >     hw/arm/virt:
> > > >         . Add PL330 DMA controller and connect with SMMUv3 for
> > > testing
> > > >         . Add smmuv3_sidmap for non-PCI/PCIe devices SID setting
> > >
> > > Please don't try to do all these things in one big patch --
> > > put together a patchseries with several smaller patches,
> > > each of which does one self-contained thing.
> > >
> >   Got it. Thanks for your comments.
> >   Let me try to split them into several smaller patches.
> >   But all these updates work for 1 thing. They are depend on each
> other.
> 
> Yes, that's why you send a single patch *series*, which has
> a cover letter that explains the overall purpose. Then each
> individual patch in the series has a commit message that
> describes what that specific patch is doing. As emails, the
> patches are all sent as follow-ups to the coverletter.
> "git format-patch" and "git send-email" should handle this for you.
> 

Sorry for interrupt you. 
Could you help to check why my series patch cannot be listed by 
https://patchew.org/?
I split the patch into 4 commits with 1 coverletter and send them out with v4 
tag.
I can see all 5 emails in https://www.mail-archive.com/qemu-devel@nongnu.org/ 
But 
49C79B700B5D8F45B8EF0861B4EF3B3B01142FABD6@SHASXM03.verisilicon.com/#">https://patchew.org/QEMU/49C79B700B5D8F45B8EF0861B4EF3B3B01142FABD6@SHASXM03.verisilicon.com/#
 
show " Only 0 patches received! ".
It is great helpful If you can help to check and tell me what mistake I made.
Thanks very much!

> https://wiki.qemu.org/Contribute/SubmitAPatch#Split_up_long_patches
> has a little more discussion of this.
> 
> > > If you have a patch that depends on another, it's usually better to
> > > send them as a patchseries. I was wondering what the reason for
> > > that PL330 patch was...
> 
> >   I need a non-PCI/PCIe device to do the verification. The old PL330
> DMA controller
> >   cannot configure its memory region manually. So we update it and
> provide path.
> >   PL330 patch was reviewed and will be merged in target-arm.next for
> 6.2.
> >   The virt.c compile will fail if there is no PL330 device patch.
> 
> Yeah, I accepted it because it is a sensible cleanup on its own;
> but it would have been a bit easier for me to understand why you
> were doing that if I'd had the wider context.
> 
> thanks
> -- PMM

reply via email to

[Prev in Thread] Current Thread [Next in Thread]