qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] bb2ed0: isa: add memory space parameter to is


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] bb2ed0: isa: add memory space parameter to isa_bus_new
Date: Tue, 24 Feb 2015 04:30:08 -0800

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: bb2ed009e7e4b278c0234143f6b6c1126f68ba35
      
https://github.com/qemu/qemu/commit/bb2ed009e7e4b278c0234143f6b6c1126f68ba35
  Author: Hervé Poussineau <address@hidden>
  Date:   2015-02-13 (Fri, 13 Feb 2015)

  Changed paths:
    M hw/alpha/typhoon.c
    M hw/i386/pc_piix.c
    M hw/isa/i82378.c
    M hw/isa/isa-bus.c
    M hw/isa/lpc_ich9.c
    M hw/isa/piix4.c
    M hw/isa/vt82c686.c
    M hw/mips/mips_jazz.c
    M hw/mips/mips_r4k.c
    M hw/pci-host/piix.c
    M hw/sparc64/sun4u.c
    M include/hw/isa/isa.h

  Log Message:
  -----------
  isa: add memory space parameter to isa_bus_new

Currently, keep current behaviour by always using get_system_memory().

Also use QOM casts when possible.

Signed-off-by: Hervé Poussineau <address@hidden>
Reviewed-by: Paolo Bonzini <address@hidden>
Signed-off-by: Leon Alrae <address@hidden>


  Commit: f33772c8510ffe31b29c4bd9fc949f32f02a3954
      
https://github.com/qemu/qemu/commit/f33772c8510ffe31b29c4bd9fc949f32f02a3954
  Author: Hervé Poussineau <address@hidden>
  Date:   2015-02-13 (Fri, 13 Feb 2015)

  Changed paths:
    M hw/mips/mips_jazz.c

  Log Message:
  -----------
  jazz: do not explode QEMUMachineInitArgs structure

Also remove address_space and address_space_io parameters, which
where always get_system_memory() and get_system_io().

Signed-off-by: Hervé Poussineau <address@hidden>
Signed-off-by: Leon Alrae <address@hidden>


  Commit: 5c63bcf7501527b844f61624957bdba254d75bfc
      
https://github.com/qemu/qemu/commit/5c63bcf7501527b844f61624957bdba254d75bfc
  Author: Hervé Poussineau <address@hidden>
  Date:   2015-02-13 (Fri, 13 Feb 2015)

  Changed paths:
    M hw/mips/mips_jazz.c

  Log Message:
  -----------
  jazz: remove usage of isa_mem_base

Do assorted changes in memory-mapped rtc interface.

Also fix size of ISA I/O memory region, which should be 0x10000 bytes.

Signed-off-by: Hervé Poussineau <address@hidden>
Signed-off-by: Leon Alrae <address@hidden>


  Commit: 0c10962a033bfd4b6935389750e567eae18bd5e7
      
https://github.com/qemu/qemu/commit/0c10962a033bfd4b6935389750e567eae18bd5e7
  Author: Hervé Poussineau <address@hidden>
  Date:   2015-02-13 (Fri, 13 Feb 2015)

  Changed paths:
    M hw/mips/mips_r4k.c

  Log Message:
  -----------
  mips: remove isa_mem_base usage

Signed-off-by: Hervé Poussineau <address@hidden>
Signed-off-by: Leon Alrae <address@hidden>


  Commit: cdba1415c159975c33776c386b934d6cb772421b
      
https://github.com/qemu/qemu/commit/cdba1415c159975c33776c386b934d6cb772421b
  Author: Hervé Poussineau <address@hidden>
  Date:   2015-02-13 (Fri, 13 Feb 2015)

  Changed paths:
    M hw/isa/piix4.c

  Log Message:
  -----------
  piix4: use PCI address space instead of system memory

piix4 is only used on MIPS Malta board, which gives get_system_memory()
to pci_register_bus().

Signed-off-by: Hervé Poussineau <address@hidden>
Signed-off-by: Leon Alrae <address@hidden>


  Commit: f720f20350cfdf7e9d267947238cd2e5acee53f3
      
https://github.com/qemu/qemu/commit/f720f20350cfdf7e9d267947238cd2e5acee53f3
  Author: Hervé Poussineau <address@hidden>
  Date:   2015-02-13 (Fri, 13 Feb 2015)

  Changed paths:
    M hw/mips/gt64xxx_pci.c

  Log Message:
  -----------
  gt64xxx: remove isa_mem_base usage

Create a custom address space for PCI memory region and use it for the PCI bus.
Dynamically handle PCI0 Mem0 and PCI0 Mem1 regions, as already done for PCI0 IO.

Signed-off-by: Hervé Poussineau <address@hidden>
Signed-off-by: Leon Alrae <address@hidden>


  Commit: b19c1c08de4365df90207862f4f9f7c1cd512bd9
      
https://github.com/qemu/qemu/commit/b19c1c08de4365df90207862f4f9f7c1cd512bd9
  Author: Hervé Poussineau <address@hidden>
  Date:   2015-02-13 (Fri, 13 Feb 2015)

  Changed paths:
    M hw/display/cirrus_vga.c
    M hw/display/vga-isa.c
    M hw/display/vga.c
    M hw/isa/isa-bus.c
    M include/hw/isa/isa.h

  Log Message:
  -----------
  isa: remove isa_mem_base variable

Now that isa_mem_base variable is always 0, we can remove its usage.

Signed-off-by: Hervé Poussineau <address@hidden>
Signed-off-by: Leon Alrae <address@hidden>


  Commit: 196a7958c65778d05a491309377a65c58f643a1c
      
https://github.com/qemu/qemu/commit/196a7958c65778d05a491309377a65c58f643a1c
  Author: Maciej W. Rozycki <address@hidden>
  Date:   2015-02-13 (Fri, 13 Feb 2015)

  Changed paths:
    M target-mips/translate_init.c

  Log Message:
  -----------
  target-mips: Make CP0.Status.CU1 read-only for the 5Kc and 5KEc processors

Signed-off-by: Maciej W. Rozycki <address@hidden>
Signed-off-by: Leon Alrae <address@hidden>


  Commit: fe2372910a09034591fd2cfc2d70cca43fccaa95
      
https://github.com/qemu/qemu/commit/fe2372910a09034591fd2cfc2d70cca43fccaa95
  Author: Leon Alrae <address@hidden>
  Date:   2015-02-13 (Fri, 13 Feb 2015)

  Changed paths:
    M target-mips/translate.c

  Log Message:
  -----------
  target-mips: fix detection of the end of the page during translation

The test is supposed to terminate TB if the end of the page is reached.
However, with current implementation it may never succeed for microMIPS or
mips16.

Reported-by: Richard Henderson <address@hidden>
Signed-off-by: Leon Alrae <address@hidden>
Reviewed-by: Maciej W. Rozycki <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>


  Commit: 6489dd250a4d6e86ecbb4badf82cc102afe26f33
      
https://github.com/qemu/qemu/commit/6489dd250a4d6e86ecbb4badf82cc102afe26f33
  Author: Leon Alrae <address@hidden>
  Date:   2015-02-13 (Fri, 13 Feb 2015)

  Changed paths:
    M target-mips/op_helper.c

  Log Message:
  -----------
  target-mips: ll and lld cause AdEL exception for unaligned address

Signed-off-by: Leon Alrae <address@hidden>
Reviewed-by: Maciej W. Rozycki <address@hidden>


  Commit: d3b1979d7b37c7fa6b187442e0990afa6f88fe3b
      
https://github.com/qemu/qemu/commit/d3b1979d7b37c7fa6b187442e0990afa6f88fe3b
  Author: Leon Alrae <address@hidden>
  Date:   2015-02-13 (Fri, 13 Feb 2015)

  Changed paths:
    M target-mips/translate.c

  Log Message:
  -----------
  target-mips: use CP0EnLo_XI instead of magic number

Signed-off-by: Leon Alrae <address@hidden>
Reviewed-by: Maciej W. Rozycki <address@hidden>


  Commit: b40a1530f294b5fa4479dc3ca9bf46c269d08d87
      
https://github.com/qemu/qemu/commit/b40a1530f294b5fa4479dc3ca9bf46c269d08d87
  Author: Leon Alrae <address@hidden>
  Date:   2015-02-13 (Fri, 13 Feb 2015)

  Changed paths:
    M target-mips/machine.c

  Log Message:
  -----------
  target-mips: fix broken snapshotting

Recently added CP0.BadInstr and CP0.BadInstrP registers ended up in cpu_load()
under different offset than in cpu_save(). These and all registers between were
incorrectly restored.

Signed-off-by: Leon Alrae <address@hidden>


  Commit: 5e88759a52934a32502298f2c78c6dfaa144364b
      
https://github.com/qemu/qemu/commit/5e88759a52934a32502298f2c78c6dfaa144364b
  Author: Leon Alrae <address@hidden>
  Date:   2015-02-13 (Fri, 13 Feb 2015)

  Changed paths:
    M target-mips/translate.c

  Log Message:
  -----------
  target-mips: pass 0 instead of -1 as rs in microMIPS LUI instruction

Using rs = -1 in gen_logic_imm() for microMIPS LUI instruction is dangerous
and may bite us when implementing microMIPS R6 because in R6 AUI and LUI
are distinguished by rs value. Therefore use 0 for safety.

Reported-by: Paolo Bonzini <address@hidden>
Signed-off-by: Leon Alrae <address@hidden>


  Commit: 1ab2aea2489f34a05dabfe5bd91a76d89dd8c922
      
https://github.com/qemu/qemu/commit/1ab2aea2489f34a05dabfe5bd91a76d89dd8c922
  Author: Leon Alrae <address@hidden>
  Date:   2015-02-13 (Fri, 13 Feb 2015)

  Changed paths:
    M linux-user/syscall_defs.h

  Log Message:
  -----------
  linux-user: correct stat structure in MIPS N32

Simple "hello world" MIPS N32 userland program crashes with segfault due to
incorrectly defined stat structure in QEMU.

Correct "target_stat" definition to match kernel's "stat64" as in MIPS N32
there are only plain "stat" syscalls using 64-bit structure.

Reported-by: Daniel Sanders <address@hidden>
Signed-off-by: Leon Alrae <address@hidden>
Tested-by: Daniel Sanders <address@hidden>
Reviewed-by: James Hogan <address@hidden>


  Commit: bf2fd13af3925f3a081fdeab8e8a1c8830431e46
      
https://github.com/qemu/qemu/commit/bf2fd13af3925f3a081fdeab8e8a1c8830431e46
  Author: Peter Maydell <address@hidden>
  Date:   2015-02-24 (Tue, 24 Feb 2015)

  Changed paths:
    M hw/alpha/typhoon.c
    M hw/display/cirrus_vga.c
    M hw/display/vga-isa.c
    M hw/display/vga.c
    M hw/i386/pc_piix.c
    M hw/isa/i82378.c
    M hw/isa/isa-bus.c
    M hw/isa/lpc_ich9.c
    M hw/isa/piix4.c
    M hw/isa/vt82c686.c
    M hw/mips/gt64xxx_pci.c
    M hw/mips/mips_jazz.c
    M hw/mips/mips_r4k.c
    M hw/pci-host/piix.c
    M hw/sparc64/sun4u.c
    M include/hw/isa/isa.h
    M linux-user/syscall_defs.h
    M target-mips/machine.c
    M target-mips/op_helper.c
    M target-mips/translate.c
    M target-mips/translate_init.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/lalrae/tags/mips-20150213-2' into 
staging

MIPS patches 2015-02-13

Changes:
* bug fixes, cleanups and minor improvements

# gpg: Signature made Sat Feb 14 17:01:37 2015 GMT using RSA key ID 0B29DA6B
# gpg: Can't check signature: public key not found

* remotes/lalrae/tags/mips-20150213-2:
  linux-user: correct stat structure in MIPS N32
  target-mips: pass 0 instead of -1 as rs in microMIPS LUI instruction
  target-mips: fix broken snapshotting
  target-mips: use CP0EnLo_XI instead of magic number
  target-mips: ll and lld cause AdEL exception for unaligned address
  target-mips: fix detection of the end of the page during translation
  target-mips: Make CP0.Status.CU1 read-only for the 5Kc and 5KEc processors
  isa: remove isa_mem_base variable
  gt64xxx: remove isa_mem_base usage
  piix4: use PCI address space instead of system memory
  mips: remove isa_mem_base usage
  jazz: remove usage of isa_mem_base
  jazz: do not explode QEMUMachineInitArgs structure
  isa: add memory space parameter to isa_bus_new

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


Compare: https://github.com/qemu/qemu/compare/cd2d5541271f...bf2fd13af392

reply via email to

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