[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <569F7EE3.1020504@dev.mellanox.co.il>
Date: Wed, 20 Jan 2016 14:34:43 +0200
From: Sagi Grimberg <sagig@....mellanox.co.il>
To: Wenbo Wang <mail_weber_wang@....com>, keith.busch@...el.com,
axboe@...com
Cc: stable@...r.kernel.org, wenwei.tao@...blaze.com,
linux-kernel@...r.kernel.org, linux-nvme@...ts.infradead.org,
Wenbo Wang <wenbo.wang@...blaze.com>
Subject: Re: [PATH v2] NVMe: init nvme queue before enabling irq
> From: Wenbo Wang <wenbo.wang@...blaze.com>
>
> During reset process, the nvme_dev->bar (ioremapped) may change,
> so nvmeq->q_db shall be also updated by nvme_init_queue().
>
> Currently nvmeq irq is enabled before queue init, so a spurious
> interrupt triggered nvme_process_cq may access nvmeq->q_db just
> before it is updated, this could cause kernel panic.
>
> Signed-off-by: Wenbo Wang <wenbo.wang@...blaze.com>
> Reviewed-by: Wenwei Tao <wenwei.tao@...blaze.com>
You should add Cc: stable@...r.kernel.org here,
git-send-email will take care of the CC for you.
Powered by blists - more mailing lists