summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/sym53c8xx_2
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2014-04-11 08:43:35 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2014-04-13 02:58:48 +0200
commit18aa0da33e18cb2037932f7ad5c7d51f22e012f5 (patch)
treeac0c95d25744e58cee9b075816347b279a9727f3 /drivers/scsi/sym53c8xx_2
parentfutex: update documentation for ordering guarantees (diff)
downloadlinux-18aa0da33e18cb2037932f7ad5c7d51f22e012f5.tar.xz
linux-18aa0da33e18cb2037932f7ad5c7d51f22e012f5.zip
powerpc: Don't try to set LPCR unless we're in hypervisor mode
Commit 8f619b5429d9 ("powerpc/ppc64: Do not turn AIL (reloc-on interrupts) too early") added code to set the AIL bit in the LPCR without checking whether the kernel is running in hypervisor mode. The result is that when the kernel is running as a guest (i.e., under PowerKVM or PowerVM), the processor takes a privileged instruction interrupt at that point, causing a panic. The visible result is that the kernel hangs after printing "returning from prom_init". This fixes it by checking for hypervisor mode being available before setting LPCR. If we are not in hypervisor mode, we enable relocation-on interrupts later in pSeries_setup_arch using the H_SET_MODE hcall. Signed-off-by: Paul Mackerras <paulus@samba.org> Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/scsi/sym53c8xx_2')
0 files changed, 0 insertions, 0 deletions