From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755446AbcGEQbO (ORCPT ); Tue, 5 Jul 2016 12:31:14 -0400 Received: from mail-it0-f65.google.com ([209.85.214.65]:33853 "EHLO mail-it0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752103AbcGEQbK convert rfc822-to-8bit (ORCPT ); Tue, 5 Jul 2016 12:31:10 -0400 MIME-Version: 1.0 In-Reply-To: References: <7cc588b7-f1cf-62a8-e45b-ec7d863ba51e@leemhuis.info> <20160622115131.4bh7sh6uhmmhw44v@c203.arch.suse.de> From: Josh Boyer Date: Tue, 5 Jul 2016 12:30:34 -0400 X-Google-Sender-Auth: lwaYy_Czhp5iGh-I_Sw5zrNP4ao Message-ID: Subject: Re: Reported regressions for 4.7 as of Sunday, 2016-06-19 To: Quinn Tran Cc: Johannes Thumshirn , "Martin K. Petersen" , Linus Torvalds , Thorsten Leemhuis , linux-kernel Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jun 22, 2016 at 11:57 AM, Quinn Tran wrote: > Johannes, Martin, > > Based on the screen shot/call trace, it looks like this adapter is not using MSIX. It defaulted back to MSI or INTx interrupt. The code made an assumption of MSIX is available. There is no point in go through that code segment. > > Can you try this work around? It’s untested. Thanks. > > > diff --git a/drivers/scsi/qla2xxx/qla_isr.c b/drivers/scsi/qla2xxx/qla_isr.c > index 5649c20..e033ecb 100644 > --- a/drivers/scsi/qla2xxx/qla_isr.c > +++ b/drivers/scsi/qla2xxx/qla_isr.c > @@ -2548,7 +2548,7 @@ void qla24xx_process_response_queue(struct scsi_qla_host *vha, > if (!vha->flags.online) > return; > > - if (rsp->msix->cpuid != smp_processor_id()) { > + if (rsp->msix && (rsp->msix->cpuid != smp_processor_id())) { > /* if kernel does not notify qla of IRQ's CPU change, > * then set it here. > */ Did this wind up going into an official commit somewhere? josh