[Qemu-devel] [PATCH 0/2] target-xtensa: fix translation for cross-page opcodes

2014-12-13 Thread Max Filippov
Hi, this series fixes translation for opcodes crossing page boundary and adds a testcase. Max Filippov (2): target-xtensa: fix translation for opcodes crossing page boundary target-xtensa: test cross-page opcode target-xtensa/translate.c | 27 +++ tests/tcg/xtensa/

[Qemu-devel] [PATCH 2/2] target-xtensa: test cross-page opcode

2014-12-13 Thread Max Filippov
Alter cross-page TB test to also test cross-page opcode. Signed-off-by: Max Filippov --- tests/tcg/xtensa/test_mmu.S | 26 +- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/tests/tcg/xtensa/test_mmu.S b/tests/tcg/xtensa/test_mmu.S index 58c5bca..a15316f 1

[Qemu-devel] [PATCH 1/2] target-xtensa: fix translation for opcodes crossing page boundary

2014-12-13 Thread Max Filippov
If TB ends with an opcode that crosses page boundary and the following page is not executable then EPC1 for the code fetch exception wrongly points at the beginning of the TB. Always treat instruction that crosses page boundary as a separate TB. Cc: qemu-sta...@nongnu.org Signed-off-by: Max Filipp

[Qemu-devel] [PATCH 2/2] target-xtensa: don't generate dead code

2014-12-13 Thread Max Filippov
Don't generate TCG operations when privilege, register window or coprocessor checks fail. Signed-off-by: Max Filippov --- target-xtensa/translate.c | 600 +- 1 file changed, 321 insertions(+), 279 deletions(-) diff --git a/target-xtensa/translate.c b/

[Qemu-devel] [PATCH 1/2] target-xtensa: record available window in TB flags

2014-12-13 Thread Max Filippov
Record last valid 4-register window pane number in TB flags so that a window overflow exception throw point is known at the translation time. Signed-off-by: Max Filippov --- target-xtensa/cpu.h | 12 ++ target-xtensa/helper.h| 2 +- target-xtensa/op_helper.c | 29 +

[Qemu-devel] [PATCH 0/2] target-xtensa: translator optimizations

2014-12-13 Thread Max Filippov
Hi, this series moves decision about throwing window overflow exception to translation phase and stops code generation early when privilege, window overflow or coprocessor exception is thrown. LTP test suite with this series applied runs 6% faster. Max Filippov (2): target-xtensa: record availa

[Qemu-devel] [Bug 1402289] Re: netware 5.1 and SCSI (LSI Logic 53c895a) = lsi_scsi: error: readb 0x49

2014-12-13 Thread Ainur Shakirov
Netware 6.5 SP8: affected. -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1402289 Title: netware 5.1 and SCSI (LSI Logic 53c895a) = lsi_scsi: error: readb 0x49 Status in QEMU: New Bug descriptio

[Qemu-devel] [Bug 1402289] Re: netware 5.1 and SCSI (LSI Logic 53c895a) = lsi_scsi: error: readb 0x49

2014-12-13 Thread Ainur Shakirov
** Summary changed: - netware5.1 and SCSI (LSI Logic 53c895a) = lsi_scsi: error: readb 0x49 + netware 5.1 and SCSI (LSI Logic 53c895a) = lsi_scsi: error: readb 0x49 -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchp

[Qemu-devel] [Bug 1402289] [NEW] netware5.1 and SCSI (LSI Logic 53c895a) = lsi_scsi: error: readb 0x49

2014-12-13 Thread Ainur Shakirov
Public bug reported: Subj. This error occurs while loading LSIHINW.HAM driver in the netware5.1 SP8 installer. Affected versions: qemu 2.1.2 and 2.2.50 from git (2014-12-14). Linux kernel: 3.17.6 and 3.18.0. Debug log for machine in the attachment. ** Affects: qemu Importance: Undecided

Re: [Qemu-devel] Bug in s390 instruction emulation

2014-12-13 Thread Torbjörn Granlund
I wrote: The s390 instruction emulation makes GMP fail most of its tests. I have isolated one of the problems: How to reproduce: gcc m.c x.s ./a.out Correct output on actual hardware: Incorrect output using QEMU 2.2.0 rc4: 0 File m.c: #include int f

Re: [Qemu-devel] vfio-pci issues with multiple devices on the same root port

2014-12-13 Thread Peter Lieven
Am 12.12.2014 um 23:21 schrieb Alex Williamson: > On Fri, 2014-12-12 at 22:38 +0100, Peter Lieven wrote: >> Hi, >> >> we have a Cisco UCS infrastructure where we have fnic Fibre-Channel Adapters >> that we expose to guests. The UCS >> infrastruture allows to create virtual HBAs that can be exposed

Re: [Qemu-devel] vfio-pci issues with multiple devices on the same root port

2014-12-13 Thread Peter Lieven
Am 12.12.2014 um 23:21 schrieb Alex Williamson: > On Fri, 2014-12-12 at 22:38 +0100, Peter Lieven wrote: >> Hi, >> >> we have a Cisco UCS infrastructure where we have fnic Fibre-Channel Adapters >> that we expose to guests. The UCS >> infrastruture allows to create virtual HBAs that can be exposed

[Qemu-devel] [PATCH v4] qemu-log: add log category for MMU info

2014-12-13 Thread Antony Pavlov
Running barebox on qemu-system-mips* with '-d unimp' overloads stderr by very very many mips_cpu_handle_mmu_fault() messages: mips_cpu_handle_mmu_fault address=b80003fd ret 0 physical 180003fd prot 3 mips_cpu_handle_mmu_fault address=a0800884 ret 0 physical 00800884 prot 3