linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 5/5] s390/MSI: Fix msi mask issue
@ 2014-06-19  8:31 Yijing Wang
  2014-06-23 10:47 ` Sebastian Ott
  2014-07-03 23:57 ` Bjorn Helgaas
  0 siblings, 2 replies; 4+ messages in thread
From: Yijing Wang @ 2014-06-19  8:31 UTC (permalink / raw)
  To: Bjorn Helgaas
  Cc: Sebastian Ott, Gerald Schaefer, Martin Schwidefsky,
	Heiko Carstens, linux-s390, linux-pci, Wuyun, Xinwei Hu,
	Yijing Wang

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 <wangyijing@huawei.com>
---
 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



^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-07-04  1:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-19  8:31 [PATCH 5/5] s390/MSI: Fix msi mask issue Yijing Wang
2014-06-23 10:47 ` Sebastian Ott
2014-07-03 23:57 ` Bjorn Helgaas
2014-07-04  1:53   ` Yijing Wang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).