linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: John Garry <john.g.garry@oracle.com>
To: Christoph Hellwig <hch@lst.de>, 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, Hannes Reinecke <hare@suse.de>
Subject: Re: [PATCH 5/7] scsi: remove the no_highmem flag in the host
Date: Mon, 5 May 2025 11:14:32 +0100	[thread overview]
Message-ID: <2e71e6aa-7889-4259-884a-9a03a6df9eb3@oracle.com> (raw)
In-Reply-To: <20250505081138.3435992-6-hch@lst.de>

On 05/05/2025 09:11, Christoph Hellwig wrote:
> 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>

> ---
>   drivers/scsi/scsi_lib.c  | 3 ---
>   include/scsi/scsi_host.h | 2 --
>   2 files changed, 5 deletions(-)
> 
> diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/scsi_lib.c
> index 0d29470e86b0..39320dccbdd5 100644
> --- a/drivers/scsi/scsi_lib.c
> +++ b/drivers/scsi/scsi_lib.c
> @@ -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
> diff --git a/include/scsi/scsi_host.h b/include/scsi/scsi_host.h
> index 26bc23419cfd..c53812b9026f 100644
> --- a/include/scsi/scsi_host.h
> +++ b/include/scsi/scsi_host.h
> @@ -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;

I note that there are some ancient references to highmem_io around. I 
guess that this was the previous name.

> -
>   	/*
>   	 * Optional work queue to be utilized by the transport
>   	 */



  reply	other threads:[~2025-05-05 10:14 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-05  8:11 remove block layer bounce buffering v2 Christoph Hellwig
2025-05-05  8:11 ` [PATCH 1/7] scsi: make aha152x depend on !HIGHMEM Christoph Hellwig
2025-05-05 10:16   ` John Garry
2025-05-05  8:11 ` [PATCH 2/7] scsi: make imm " Christoph Hellwig
2025-05-05 10:16   ` John Garry
2025-05-05  8:11 ` [PATCH 3/7] scsi: make ppa " Christoph Hellwig
2025-05-05 10:16   ` John Garry
2025-05-05  8:11 ` [PATCH 4/7] usb-storage: reject probe of device one non-DMA HCDs when using highmem Christoph Hellwig
2025-05-05 14:13   ` Alan Stern
2025-05-05  8:11 ` [PATCH 5/7] scsi: remove the no_highmem flag in the host Christoph Hellwig
2025-05-05 10:14   ` John Garry [this message]
2025-05-05  8:11 ` [PATCH 6/7] block: remove bounce buffering support Christoph Hellwig
2025-05-05 12:04   ` John Garry
2025-05-05  8:11 ` [PATCH 7/7] mm: remove NR_BOUNCE zone stat Christoph Hellwig
2025-05-05  8:41 ` remove block layer bounce buffering v2 Johannes Thumshirn
2025-05-05 19:23 ` Jens Axboe
  -- strict thread matches above, loose matches on Subject: below --
2025-05-02  6:49 remove block layer bounce buffering Christoph Hellwig
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

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=2e71e6aa-7889-4259-884a-9a03a6df9eb3@oracle.com \
    --to=john.g.garry@oracle.com \
    --cc=akpm@linux-foundation.org \
    --cc=axboe@kernel.dk \
    --cc=fischer@norbit.de \
    --cc=hare@suse.de \
    --cc=hch@lst.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