On Wed, Nov 16, 2022 at 12:02:50PM -0600, Bjorn Helgaas wrote: > On Wed, Nov 16, 2022 at 09:56:37AM +0800, Li Ming wrote: > > The value of data object length 0x0 indicates 2^18 dwords being > > transferred. This patch adjusts the value of data object length for the > > above case on both sending side and receiving side. > > > > Besides, it is unnecessary to check whether length is greater than > > SZ_1M while receiving a response data object, because length from LENGTH > > field of data object header, max value is 2^18. > > > > Signed-off-by: Li Ming <ming4.li@xxxxxxxxx> > > Applied with Reviewed-by from Jonathan and Lukas, thank you very much > to all of you! > > I touched up the commit log; let me know if I made anything worse: Jonathan mentioned that a Fixes tag might make sense. If you agree: Fixes: 9d24322e887b ("PCI/DOE: Add DOE mailbox support functions") Cc: stable@xxxxxxxxxxxxxxx # v6.0+ Thanks! Lukas