qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] cab488: target/mips: fix msa copy_[s|u]_df rd


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] cab488: target/mips: fix msa copy_[s|u]_df rd = 0 corner c...
Date: Thu, 13 Jul 2017 05:38:29 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: cab4888136a92250fdd401402622824994f7ce0b
      
https://github.com/qemu/qemu/commit/cab4888136a92250fdd401402622824994f7ce0b
  Author: Miodrag Dinic <address@hidden>
  Date:   2017-07-11 (Tue, 11 Jul 2017)

  Changed paths:
    M target/mips/translate.c

  Log Message:
  -----------
  target/mips: fix msa copy_[s|u]_df rd = 0 corner case

This patch fixes the msa copy_[s|u]_df instruction emulation when
the destination register rd is zero. Without this patch the zero
register would get clobbered, which should never happen because it
is supposed to be hardwired to 0.

Fix this corner case by explicitly checking rd = 0 and effectively
making these instructions emulation no-op in that case.

Signed-off-by: Miodrag Dinic <address@hidden>
Reviewed-by: Aurelien Jarno <address@hidden>
Acked-by: Aurelien Jarno <address@hidden>
Signed-off-by: Yongbok Kim <address@hidden>


  Commit: 9768e2abf7ca3ef181f7cec134d7305c1643f78a
      
https://github.com/qemu/qemu/commit/9768e2abf7ca3ef181f7cec134d7305c1643f78a
  Author: Aurelien Jarno <address@hidden>
  Date:   2017-07-11 (Tue, 11 Jul 2017)

  Changed paths:
    M hw/mips/mips_malta.c

  Log Message:
  -----------
  mips/malta: load the initrd at the end of the low memory

Currently the malta board is loading the initrd just after the kernel.
This doesn't work for kaslr enabled kernels, as the initrd ends-up being
overwritten.

Move the initrd at the end of the low memory, that should leave a
sufficient gap for kaslr.

Signed-off-by: Aurelien Jarno <address@hidden>
Tested-by: Yongbok Kim <address@hidden>
Signed-off-by: Yongbok Kim <address@hidden>


  Commit: f0d2ead97cddf622a0478086886cc70a8ed6aeaf
      
https://github.com/qemu/qemu/commit/f0d2ead97cddf622a0478086886cc70a8ed6aeaf
  Author: Peter Maydell <address@hidden>
  Date:   2017-07-13 (Thu, 13 Jul 2017)

  Changed paths:
    M hw/mips/mips_malta.c
    M target/mips/translate.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/yongbok/tags/mips-20170711' into staging

MIPS patches 2017-07-11

Changes:
* Fix MSA copy_[s|u]_df corner case of rd = 0
* Update malta to load the initrd at the end of the low memory

# gpg: Signature made Tue 11 Jul 2017 15:42:20 BST
# gpg:                using RSA key 0x2238EB86D5F797C2
# gpg: Good signature from "Yongbok Kim <address@hidden>"
# gpg: WARNING: This key is not certified with a trusted signature!
# gpg:          There is no indication that the signature belongs to the owner.
# Primary key fingerprint: 8600 4CF5 3415 A5D9 4CFA  2B5C 2238 EB86 D5F7 97C2

* remotes/yongbok/tags/mips-20170711:
  mips/malta: load the initrd at the end of the low memory
  target/mips: fix msa copy_[s|u]_df rd = 0 corner case

Signed-off-by: Peter Maydell <address@hidden>


Compare: https://github.com/qemu/qemu/compare/6e2c46334385...f0d2ead97cdd

reply via email to

[Prev in Thread] Current Thread [Next in Thread]