Re: [Qemu-devel] [RFC PATCH 0/2] target: Build with CONFIG_SEMIHOSTING disabled

2019-06-16 Thread Aleksandar Markovic
> Aleksandar: Can we use SEMIHOSTING on KVM MIPS? > You can assume the answer is no, we can't. But James Hogan, who maintains MIPS KVM, may have different view, and his answer would override mine. Yours, Aleksandar > For ARM Peter said: > > "semihosting hooks either SVC or HLT instructions, and

Re: [Qemu-devel] [RFC PATCH 0/2] target: Build with CONFIG_SEMIHOSTING disabled

2019-06-15 Thread Philippe Mathieu-Daudé
On 6/3/19 10:11 AM, Paolo Bonzini wrote: > On 31/05/19 18:54, Miroslav Rezanina wrote: >> What about CONFIG_ARM_VIRT - can we use it to introduce dependency on >> CONFIG_SEMIHOSTING or is there valid scenario of qemu build with >> CONFIG_ARM_VIRT >> enabled and CONFIG_SEMIHOSTING disabled? > > If

Re: [Qemu-devel] [RFC PATCH 0/2] target: Build with CONFIG_SEMIHOSTING disabled

2019-06-03 Thread Paolo Bonzini
On 31/05/19 18:54, Miroslav Rezanina wrote: > What about CONFIG_ARM_VIRT - can we use it to introduce dependency on > CONFIG_SEMIHOSTING or is there valid scenario of qemu build with > CONFIG_ARM_VIRT > enabled and CONFIG_SEMIHOSTING disabled? If you are not really going to use TCG, disabling SEM

Re: [Qemu-devel] [RFC PATCH 0/2] target: Build with CONFIG_SEMIHOSTING disabled

2019-06-01 Thread Peter Maydell
On Sat, 1 Jun 2019 at 10:34, Alex Bennée wrote: > > > Peter Maydell writes: > > Semihosting is a feature that works on all Arm CPUs > > regardless of which machine model you're using (or whether > > you're using softmmu or linux-user), so I think > > the machine's Kconfig fragment is the wrong pl

Re: [Qemu-devel] [RFC PATCH 0/2] target: Build with CONFIG_SEMIHOSTING disabled

2019-06-01 Thread Alex Bennée
Peter Maydell writes: > On Fri, 31 May 2019 at 17:54, Miroslav Rezanina wrote: >> What about CONFIG_ARM_VIRT - can we use it to introduce dependency on >> CONFIG_SEMIHOSTING or is there valid scenario of qemu build with >> CONFIG_ARM_VIRT >> enabled and CONFIG_SEMIHOSTING disabled? > > Semiho

Re: [Qemu-devel] [RFC PATCH 0/2] target: Build with CONFIG_SEMIHOSTING disabled

2019-05-31 Thread Peter Maydell
On Fri, 31 May 2019 at 17:40, Philippe Mathieu-Daudé wrote: > I'll see what happened to Samuel series "Support disabling TCG on ARM" > and see if it can be salvaged: > https://lists.gnu.org/archive/html/qemu-devel/2018-11/msg02451.html That would certainly be useful. > I suppose in this thread:

Re: [Qemu-devel] [RFC PATCH 0/2] target: Build with CONFIG_SEMIHOSTING disabled

2019-05-31 Thread Peter Maydell
On Fri, 31 May 2019 at 17:54, Miroslav Rezanina wrote: > What about CONFIG_ARM_VIRT - can we use it to introduce dependency on > CONFIG_SEMIHOSTING or is there valid scenario of qemu build with > CONFIG_ARM_VIRT > enabled and CONFIG_SEMIHOSTING disabled? Semihosting is a feature that works on al

Re: [Qemu-devel] [RFC PATCH 0/2] target: Build with CONFIG_SEMIHOSTING disabled

2019-05-31 Thread no-reply
Patchew URL: https://patchew.org/QEMU/20190531154735.20809-1-phi...@redhat.com/ Hi, This series seems to have some coding style problems. See output below for more information: Subject: [Qemu-devel] [RFC PATCH 0/2] target: Build with CONFIG_SEMIHOSTING disabled Type: series Message-id

Re: [Qemu-devel] [RFC PATCH 0/2] target: Build with CONFIG_SEMIHOSTING disabled

2019-05-31 Thread Miroslav Rezanina
- Original Message - > From: "Philippe Mathieu-Daudé" > To: "Peter Maydell" > Cc: "QEMU Developers" , "Paolo Bonzini" > , "Miroslav Rezanina" > , "Richard Henderson" , > "Aleksandar Rikalo" > , "qemu-arm" , "Aleksandar > Markovic" , "Aurelien > Jarno" , "Alex Bennée" , > "Samuel Or

Re: [Qemu-devel] [RFC PATCH 0/2] target: Build with CONFIG_SEMIHOSTING disabled

2019-05-31 Thread Philippe Mathieu-Daudé
On 5/31/19 6:21 PM, Peter Maydell wrote: > On Fri, 31 May 2019 at 16:47, Philippe Mathieu-Daudé > wrote: >> >> Amusingly Miroslav and myself hit this issue at the same time. >> >> Currently there is no way to pass a CONFIG_X to sources in target/, >> except via a Makefile rule (and filling with s

Re: [Qemu-devel] [RFC PATCH 0/2] target: Build with CONFIG_SEMIHOSTING disabled

2019-05-31 Thread Peter Maydell
On Fri, 31 May 2019 at 16:47, Philippe Mathieu-Daudé wrote: > > Amusingly Miroslav and myself hit this issue at the same time. > > Currently there is no way to pass a CONFIG_X to sources in target/, > except via a Makefile rule (and filling with stubs). > > Paolo says this is on purpose, CONFIG_X

[Qemu-devel] [RFC PATCH 0/2] target: Build with CONFIG_SEMIHOSTING disabled

2019-05-31 Thread Philippe Mathieu-Daudé
Amusingly Miroslav and myself hit this issue at the same time. Currently there is no way to pass a CONFIG_X to sources in target/, except via a Makefile rule (and filling with stubs). Paolo says this is on purpose, CONFIG_X selectors are meant for devices and we try to avoid having config-devices