Hi Ayan, > On 21 Apr 2022, at 5:44 pm, Ayan Kumar Halder <ayan.kumar.hal...@xilinx.com> > wrote: > > Hi Rahul, > > On 21/04/2022 14:21, Rahul Singh wrote: >> Hi Ayan, >> >> > On 21 Apr 2022, at 12:12 pm, Ayan Kumar Halder >> > <ayan.kumar.hal...@xilinx.com> wrote: >> > >> > Hi Arm/SMMU experts, >> > >> > Scenario :- I am trying to assign a device (eg mmc) to a guest which uses >> > smmu. I start the guest using "xl create -c ...". It works fine for the >> > first time. I am able to access the device. >> > >> > Now, when I destroy the guest and create again, I see this issue >> >> Did you observe any other Xen error while deassigning and assigning the >> device ? >> > >> > (XEN) smmu: /axi/smmu@fd800000: GFSR 0x00000002, GFSYNR0 0x00000000, >> > GFSYNR1 0x00000871, GFSYNR2 0x00000000 >> > >> > 0x871 is the stream id used by mmc. >> > >> > We are using SMMU-500. So from the Arm SMMU v2 specs, it is "Unidentified >> > stream fault" for stream id "0x871". >> >> Yes, you are right above error means that Unidentified stream fault. That >> means SMMU hardware is not set up for streamId 0x0000087 >> I just try to go through the SMMU code and observe that this issue may be >> related to iommu group but I am not maybe I am wrong. >> I just created the patch that is not tested. Please try to apply the patch >> and test it once. > > Many thanks for looking into this. With your patch, the issue is resolved. > > Are you going to send out this patch for review ? You can add my "Tested-by" > tag. >
Good to know that the issue has been resolved. Yes, I will send the patch for review. Regards, Rahul