[PATCH 04/23] scsi: initialize scsi midlayer limits before allocating the queue

Christoph Hellwig hch at lst.de
Thu Jun 6 15:54:08 AEST 2024


On Wed, Jun 05, 2024 at 10:37:53PM +1000, Michael Ellerman wrote:
> On the other hand increasing max_segment_size to 64K while leaving MAX_DBDMA_SEG
> at 0xff00 seems to work fine. And that's effectively what's been happening on
> existing kernels until now.

Exactly.

> 
> The only question is whether that violates some assumption elsewhere in the
> SCSI layer?

It shouldn't.

> Anyway patch below that works for me on v6.10-rc2.

This looks good to me:

Reviewed-by: Christoph Hellwig <hch at lst.de>



More information about the Linuxppc-dev mailing list