diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2013-08-27 13:09:22 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-08-27 13:09:22 -0400 |
| commit | 0c6b5c5b45c258e4aca65df8c5746838668fd99f (patch) | |
| tree | 89e976bc2848f2702e2ae7f4d2c264668cb4e4d8 /drivers | |
| parent | 6dec97dc92946eb479e6ebb54a61f8226cceefec (diff) | |
| parent | d220980b701d838560a70de691b53be007e99e78 (diff) | |
Merge branch 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc
Pull powerpc fixes from Ben Herrenschmidt:
"Here are 3 bug fixes that should probably go into 3.11 since I'm also
tagging them for stable.
Once fixes our old /proc/powerpc/lparcfg file which provides partition
informations when running under our hypervisor and also acts as a
user-triggerable Oops when hot :-(
The other two respectively are a one liner to fix a HVSI protocol
handshake problem causing the console to fail to show up on a bunch of
machines until we reach userspace, which I deem annoying enough to
warrant going to stable, and a nasty gcc miscompile causing us to pass
virtual instead of physical addresses to the firmware under some
circumstances"
* 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc:
powerpc/hvsi: Increase handshake timeout from 200ms to 400ms.
powerpc: Work around gcc miscompilation of __pa() on 64-bit
powerpc: Don't Oops when accessing /proc/powerpc/lparcfg without hypervisor
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/tty/hvc/hvsi_lib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/tty/hvc/hvsi_lib.c b/drivers/tty/hvc/hvsi_lib.c index 3396eb9d57a3..ac2767100df5 100644 --- a/drivers/tty/hvc/hvsi_lib.c +++ b/drivers/tty/hvc/hvsi_lib.c | |||
| @@ -341,8 +341,8 @@ void hvsilib_establish(struct hvsi_priv *pv) | |||
| 341 | 341 | ||
| 342 | pr_devel("HVSI@%x: ... waiting handshake\n", pv->termno); | 342 | pr_devel("HVSI@%x: ... waiting handshake\n", pv->termno); |
| 343 | 343 | ||
| 344 | /* Try for up to 200s */ | 344 | /* Try for up to 400ms */ |
| 345 | for (timeout = 0; timeout < 20; timeout++) { | 345 | for (timeout = 0; timeout < 40; timeout++) { |
| 346 | if (pv->established) | 346 | if (pv->established) |
| 347 | goto established; | 347 | goto established; |
| 348 | if (!hvsi_get_packet(pv)) | 348 | if (!hvsi_get_packet(pv)) |
