Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

scsi: make aha152x depend on !HIGHMEM

This is one of the last drivers depending on the block layer bounce
buffering code. Restrict it to run on non-highmem configs so that the
bounce buffering code can be removed.

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-2-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>

authored by

Christoph Hellwig and committed by
Jens Axboe
7b32cb54 c595b540

+1 -1
+1
drivers/scsi/Kconfig
··· 403 403 config SCSI_AHA152X 404 404 tristate "Adaptec AHA152X/2825 support" 405 405 depends on ISA && SCSI 406 + depends on !HIGHMEM 406 407 select SCSI_SPI_ATTRS 407 408 select CHECK_SIGNATURE 408 409 help
-1
drivers/scsi/aha152x.c
··· 746 746 /* need to have host registered before triggering any interrupt */ 747 747 list_add_tail(&HOSTDATA(shpnt)->host_list, &aha152x_host_list); 748 748 749 - shpnt->no_highmem = true; 750 749 shpnt->io_port = setup->io_port; 751 750 shpnt->n_io_port = IO_RANGE; 752 751 shpnt->irq = setup->irq;