From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from szxga02-in.huawei.com ([119.145.14.65]:34704 "EHLO szxga02-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757535AbaFSIcl (ORCPT ); Thu, 19 Jun 2014 04:32:41 -0400 From: Yijing Wang To: Bjorn Helgaas CC: Sebastian Ott , Gerald Schaefer , Martin Schwidefsky , Heiko Carstens , , , Wuyun , Xinwei Hu , Yijing Wang Subject: [PATCH 5/5] s390/MSI: Fix msi mask issue Date: Thu, 19 Jun 2014 16:31:14 +0800 Message-ID: <1403166674-6836-1-git-send-email-wangyijing@huawei.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-pci-owner@vger.kernel.org List-ID: Maskbit in msi_attrib indicates MSI whether support mask-pending bit. It is read only, should save mask state in masked. Signed-off-by: Yijing Wang --- arch/s390/pci/pci.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/s390/pci/pci.c b/arch/s390/pci/pci.c index bdf0257..4651d6b 100644 --- a/arch/s390/pci/pci.c +++ b/arch/s390/pci/pci.c @@ -263,7 +263,7 @@ static int zpci_msi_set_mask_bits(struct msi_desc *msi, u32 mask, u32 flag) } else return 0; - msi->msi_attrib.maskbit = !!flag; + msi->masked = !!flag; return 1; } -- 1.7.1