diff options
author | David S. Miller <davem@davemloft.net> | 2011-12-22 22:23:59 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-12-22 22:46:53 +0100 |
commit | 7cc8583372a21d98a23b703ad96cab03180b5030 (patch) | |
tree | 15c342c336b72e431ce96f1b4d27930b9f58ebe2 /lib/btree.c | |
parent | Merge branch 'usb-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/gre... (diff) | |
download | linux-7cc8583372a21d98a23b703ad96cab03180b5030.tar.xz linux-7cc8583372a21d98a23b703ad96cab03180b5030.zip |
sparc64: Fix MSIQ HV call ordering in pci_sun4v_msiq_build_irq().
This silently was working for many years and stopped working on
Niagara-T3 machines.
We need to set the MSIQ to VALID before we can set it's state to IDLE.
On Niagara-T3, setting the state to IDLE first was causing HV_EINVAL
errors. The hypervisor documentation says, rather ambiguously, that
the MSIQ must be "initialized" before one can set the state.
I previously understood this to mean merely that a successful setconf()
operation has been performed on the MSIQ, which we have done at this
point. But it seems to also mean that it has been set VALID too.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/btree.c')
0 files changed, 0 insertions, 0 deletions