scsi: remove the no_highmem flag in the host
authorChristoph Hellwig <hch@lst.de>
Mon, 5 May 2025 08:11:24 +0000 (10:11 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 5 May 2025 19:22:39 +0000 (13:22 -0600)
All users are gone now.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: John Garry <john.g.garry@oracle.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Link: https://lore.kernel.org/r/20250505081138.3435992-6-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/scsi/scsi_lib.c
include/scsi/scsi_host.h

index 0d29470e86b0b8ee96dffd541f3090d41d457e48..39320dccbdd5c7bb7a9ea1dcdd5e44a3b128661a 100644 (file)
@@ -2000,9 +2000,6 @@ void scsi_init_limits(struct Scsi_Host *shost, struct queue_limits *lim)
        lim->dma_alignment = max_t(unsigned int,
                shost->dma_alignment, dma_get_cache_alignment() - 1);
 
-       if (shost->no_highmem)
-               lim->features |= BLK_FEAT_BOUNCE_HIGH;
-
        /*
         * Propagate the DMA formation properties to the dma-mapping layer as
         * a courtesy service to the LLDDs.  This needs to check that the buses
index 26bc23419cfd335a305becf7241895abfdbc5fd5..c53812b9026f64958f07f195f874b6db69f263c8 100644 (file)
@@ -670,8 +670,6 @@ struct Scsi_Host {
        /* The transport requires the LUN bits NOT to be stored in CDB[1] */
        unsigned no_scsi2_lun_in_cdb:1;
 
-       unsigned no_highmem:1;
-
        /*
         * Optional work queue to be utilized by the transport
         */