Linux SCSI subsystem development
 help / color / mirror / Atom feed
From: "Martin K. Petersen (Oracle)" <mkp@kernel.org>
To: Linmao Li <lilinmao@kylinos.cn>
Cc: doubled@leap-io-kernel.com,
	 James.Bottomley@HansenPartnership.com,
	martin.petersen@oracle.com,  linux-scsi@vger.kernel.org,
	hare@kernel.org,  dlemoal@kernel.org,
	 linux-kernel@vger.kernel.org
Subject: Re: [PATCH v3 0/2] scsi: leapraid: fix firmware log mmap lifetime
Date: Sun, 23 Aug 2026 21:56:03 -0400	[thread overview]
Message-ID: <yq1tsoknuxh.fsf@mail.kernel.org> (raw)
In-Reply-To: <20260814033845.2971706-1-lilinmao@kylinos.cn> (Linmao Li's message of "Fri, 14 Aug 2026 11:38:43 +0800")


Linmao,

> The firmware log mmap path has two related lifetime issues. VMA clones
> drop Scsi_Host references that they never acquired, and device removal
> can free the coherent log buffer while mmap is still setting up a VMA.

Applied to 7.3/scsi-staging, thanks!

-- 
Martin K. Petersen

  parent reply	other threads:[~2026-08-24  1:56 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-14  3:38 [PATCH v3 0/2] scsi: leapraid: fix firmware log mmap lifetime Linmao Li
2026-08-14  3:38 ` [PATCH v3 1/2] scsi: leapraid: balance host references for firmware log VMAs Linmao Li
2026-08-14  3:56   ` sashiko-bot
2026-08-14  8:05   ` Hao Dongdong
2026-08-14  3:38 ` [PATCH v3 2/2] scsi: leapraid: serialize firmware log mmap with teardown Linmao Li
2026-08-14  3:52   ` sashiko-bot
2026-08-14  8:08   ` Hao Dongdong
2026-08-24  1:56 ` Martin K. Petersen (Oracle) [this message]
2026-08-26 15:20 ` [PATCH v3 0/2] scsi: leapraid: fix firmware log mmap lifetime Martin K. Petersen (Oracle)

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=yq1tsoknuxh.fsf@mail.kernel.org \
    --to=mkp@kernel.org \
    --cc=James.Bottomley@HansenPartnership.com \
    --cc=dlemoal@kernel.org \
    --cc=doubled@leap-io-kernel.com \
    --cc=hare@kernel.org \
    --cc=lilinmao@kylinos.cn \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=martin.petersen@oracle.com \
    /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