Problems about Xavier NX PCIE Endpoint mode

Yes. Please go ahead and apply the patch mentioned in the post quoted by you. The procedure for Xavier NX is the same as that of Xavier AGX.