From: Christoph Hellwig <hch@lst.de>
To: Jens Axboe <axboe@kernel.dk>
Cc: "Martin K. Petersen" <martin.petersen@oracle.com>,
"Juergen E. Fischer" <fischer@norbit.de>,
Alan Stern <stern@rowland.harvard.edu>,
Andrew Morton <akpm@linux-foundation.org>,
linux-block@vger.kernel.org, linux-scsi@vger.kernel.org,
linux-usb@vger.kernel.org, usb-storage@lists.one-eyed-alien.net,
linux-mm@kvack.org
Subject: [PATCH 2/7] scsi: make imm depend on !HIGHMEM
Date: Fri, 2 May 2025 07:49:19 +0100 [thread overview]
Message-ID: <20250502064930.2981820-3-hch@lst.de> (raw)
In-Reply-To: <20250502064930.2981820-1-hch@lst.de>
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>
---
drivers/scsi/Kconfig | 1 +
drivers/scsi/imm.c | 1 -
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/scsi/Kconfig b/drivers/scsi/Kconfig
index c89e6991e934..82e0b7eaed4c 100644
--- a/drivers/scsi/Kconfig
+++ b/drivers/scsi/Kconfig
@@ -823,6 +823,7 @@ config SCSI_PPA
config SCSI_IMM
tristate "IOMEGA parallel port (imm - newer drives)"
depends on SCSI && PARPORT_PC
+ depends on !HIGHMEM
help
This driver supports newer versions of IOMEGA's parallel port ZIP
drive (a 100 MB removable media device).
diff --git a/drivers/scsi/imm.c b/drivers/scsi/imm.c
index 1d4c7310f1a6..0821cf994b98 100644
--- a/drivers/scsi/imm.c
+++ b/drivers/scsi/imm.c
@@ -1224,7 +1224,6 @@ static int __imm_attach(struct parport *pb)
host = scsi_host_alloc(&imm_template, sizeof(imm_struct *));
if (!host)
goto out1;
- host->no_highmem = true;
host->io_port = pb->base;
host->n_io_port = ports;
host->dma_channel = -1;
--
2.47.2
next prev parent reply other threads:[~2025-05-02 6:49 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-02 6:49 remove block layer bounce buffering Christoph Hellwig
2025-05-02 6:49 ` [PATCH 1/7] scsi: make aha152x depend on !HIGHMEM Christoph Hellwig
2025-05-02 7:24 ` Hannes Reinecke
2025-05-02 6:49 ` Christoph Hellwig [this message]
2025-05-02 7:24 ` [PATCH 2/7] scsi: make imm " Hannes Reinecke
2025-05-02 6:49 ` [PATCH 3/7] scsi: make ppa " Christoph Hellwig
2025-05-02 7:25 ` Hannes Reinecke
2025-05-02 6:49 ` [PATCH 4/7] usb-storage: reject probe of device one non-DMA HCDs when using highmem Christoph Hellwig
2025-05-02 7:02 ` Greg KH
2025-05-02 13:21 ` Alan Stern
2025-05-02 7:25 ` Hannes Reinecke
2025-05-02 8:48 ` Sergey Shtylyov
2025-05-02 13:19 ` [usb-storage] " Alan Stern
2025-05-02 6:49 ` [PATCH 5/7] scsi: remove the no_highmem flag in the host Christoph Hellwig
2025-05-02 7:26 ` Hannes Reinecke
2025-05-02 6:49 ` [PATCH 6/7] block: remove bounce buffering support Christoph Hellwig
2025-05-02 7:27 ` Hannes Reinecke
2025-05-02 6:49 ` [PATCH 7/7] mm: remove NR_BOUNCE zone stat Christoph Hellwig
2025-05-02 7:27 ` Hannes Reinecke
2025-05-02 8:43 ` remove block layer bounce buffering Sergey Shtylyov
2025-05-05 8:36 ` Johannes Thumshirn
2025-05-05 8:11 remove block layer bounce buffering v2 Christoph Hellwig
2025-05-05 8:11 ` [PATCH 2/7] scsi: make imm depend on !HIGHMEM Christoph Hellwig
2025-05-05 10:16 ` John Garry
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250502064930.2981820-3-hch@lst.de \
--to=hch@lst.de \
--cc=akpm@linux-foundation.org \
--cc=axboe@kernel.dk \
--cc=fischer@norbit.de \
--cc=linux-block@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=linux-scsi@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=martin.petersen@oracle.com \
--cc=stern@rowland.harvard.edu \
--cc=usb-storage@lists.one-eyed-alien.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox