On 12/31/19 8:16 PM, Corey Minyard wrote:
On Tue, Dec 31, 2019 at 07:32:07PM +0100, Philippe Mathieu-Daudé wrote:
The System Management Bus is more or less a derivative of the I2C
bus, thus the Kconfig entry depends of I2C.
Not all boards providing an I2C bus support SMBus.
Use two different Kco
On 12/31/19 7:32 PM, Philippe Mathieu-Daudé wrote:
The NMC93xx EEPROM is only used by few NIC cards and the
Am53C974 SCSI controller.
Signed-off-by: Philippe Mathieu-Daudé
---
Cc: Stefan Weil
---
hw/net/Kconfig | 2 ++
hw/nvram/Kconfig | 4
hw/nvram/Makefile.objs | 2 +-
Noticed we could clean this while reviewing Richard patch last night:
https://www.mail-archive.com/qemu-devel@nongnu.org/msg667606.html
Since v1:
- moved headers to include/tcg/ (Paolo)
- include in .inc.c relative to parent (Stefan)
v1: https://lists.gnu.org/archive/html/qemu-devel/2019-12/msg05
We currently search both the root and the tcg/ directories for tcg
files:
$ git grep '#include "tcg/' | wc -l
28
$ git grep '#include "tcg[^/]' | wc -l
94
To simplify the preprocessor search path, unify by expliciting the
tcg/ directory.
Patch created mechanically by running:
$ for x
All tcg includes are relative to the repository root directory,
we can safely remove the tcg/ directory from the include search
path list.
Signed-off-by: Philippe Mathieu-Daudé
---
configure | 1 -
1 file changed, 1 deletion(-)
diff --git a/configure b/configure
index 940bf9e87a..74dad08580 100
All the *.inc.c files included by tcg/$TARGET/tcg-target.inc.c
are in tcg/, their parent directory. To simplify the preprocessor
search path, include the relative parent path: '..'.
Patch created mechanically by running:
$ for x in tcg-pool.inc.c tcg-ldst.inc.c; do \
sed -i "s,#include \"$x
Signed-off-by: Philippe Mathieu-Daudé
---
{tcg => include/tcg}/tcg-gvec-desc.h | 0
{tcg => include/tcg}/tcg-mo.h| 0
{tcg => include/tcg}/tcg-op-gvec.h | 0
{tcg => include/tcg}/tcg-op.h| 0
{tcg => include/tcg}/tcg-opc.h | 0
{tcg => include/tcg}/tcg.h | 0
MAI
On Tue, 31 Dec 2019, Philippe Mathieu-Daudé wrote:
When configured with --without-default-devices, the build fails:
LINKppc-softmmu/qemu-system-ppc
/usr/bin/ld: hw/ppc/sam460ex.o: in function `sam460ex_init':
hw/ppc/sam460ex.c:313: undefined reference to `ppc4xx_plb_init'
/usr/bin/ld:
On Tue, 31 Dec 2019, Igor Mammedov wrote:
If user provided non-sense RAM size, board will complain and
continue running with max RAM size supported.
Also RAM is going to be allocated by generic code, so it won't be
possible for board to fix things up for user.
Make it error message and exit to f
On 1/1/20 12:29 PM, BALATON Zoltan wrote:
On Tue, 31 Dec 2019, Philippe Mathieu-Daudé wrote:
When configured with --without-default-devices, the build fails:
LINK ppc-softmmu/qemu-system-ppc
/usr/bin/ld: hw/ppc/sam460ex.o: in function `sam460ex_init':
hw/ppc/sam460ex.c:313: undefined re
On 1/1/20 12:54 PM, BALATON Zoltan wrote:
On Tue, 31 Dec 2019, Igor Mammedov wrote:
If user provided non-sense RAM size, board will complain and
continue running with max RAM size supported.
Also RAM is going to be allocated by generic code, so it won't be
possible for board to fix things up for
On Wed, Jan 01, 2020 at 11:25:42AM +0100, Philippe Mathieu-Daudé wrote:
> On 12/31/19 8:16 PM, Corey Minyard wrote:
> > On Tue, Dec 31, 2019 at 07:32:07PM +0100, Philippe Mathieu-Daudé wrote:
> > > The System Management Bus is more or less a derivative of the I2C
> > > bus, thus the Kconfig entry d
On 1/1/20 5:15 PM, Corey Minyard wrote:
On Wed, Jan 01, 2020 at 11:25:42AM +0100, Philippe Mathieu-Daudé wrote:
On 12/31/19 8:16 PM, Corey Minyard wrote:
On Tue, Dec 31, 2019 at 07:32:07PM +0100, Philippe Mathieu-Daudé wrote:
The System Management Bus is more or less a derivative of the I2C
bu
On Wed, 1 Jan 2020, Philippe Mathieu-Daudé wrote:
On 1/1/20 12:54 PM, BALATON Zoltan wrote:
On Tue, 31 Dec 2019, Igor Mammedov wrote:
If user provided non-sense RAM size, board will complain and
continue running with max RAM size supported.
Also RAM is going to be allocated by generic code, so
This commit is intentionally ridiculous. Currently calling
`reboot(RB_AUTOBOOT);` in Linux will result in arch/m68k/mac/misc.c's
mac_reset function being called. That in turn looks at the rombase (or
uses 0x4080 is there's no rombase), adds 0xa, and jumps to that
address. In the kernels I'm bui
Public bug reported:
First, thank you for this incredible project.
While following this guide to build my own image of NixOS:
https://nixos.wiki/wiki/NixOS_on_ARM#Compiling_through_QEMU on ARM
Aarch64.
I encountered a very strange behavior, qemu is correctly used and build
most of the binaries u
On 24.12.2019 07:18, Alexander Popov wrote:
> On 24.12.2019 03:20, John Snow wrote:
>> On 12/19/19 10:01 AM, Kevin Wolf wrote:
>>>
>>> John, what do you think?
>>>
>>
>> I've been out to lunch for a little while. There are some issues that I
>> recall with IDE, but couldn't find the time to fix pri
On Thu, Dec 26, 2019 at 06:36:49AM +0200, Yuri Benditovich wrote:
> https://bugzilla.redhat.com/show_bug.cgi?id=1708480
> If the control queue is not deleted together with TX/RX, it
> later will be ignored in freeing cache resources and hot
> unplug will not be completed.
>
> Signed-off-by: Yuri B
On Thu, Dec 26, 2019 at 11:29:50AM +0200, Yuri Benditovich wrote:
> On Thu, Dec 26, 2019 at 10:58 AM Jason Wang wrote:
> >
> >
> > On 2019/12/26 下午12:36, Yuri Benditovich wrote:
> > > https://bugzilla.redhat.com/show_bug.cgi?id=1708480
> > > Fix leak of region reference that prevents complete
> >
On Wed, Jan 01, 2020 at 12:23:01PM +0100, Philippe Mathieu-Daudé wrote:
> All the *.inc.c files included by tcg/$TARGET/tcg-target.inc.c
> are in tcg/, their parent directory. To simplify the preprocessor
> search path, include the relative parent path: '..'.
>
> Patch created mechanically by runn
On Wed, Jan 01, 2020 at 12:23:00PM +0100, Philippe Mathieu-Daudé wrote:
> We currently search both the root and the tcg/ directories for tcg
> files:
>
> $ git grep '#include "tcg/' | wc -l
> 28
>
> $ git grep '#include "tcg[^/]' | wc -l
> 94
>
> To simplify the preprocessor search path,
On Tue, Dec 31, 2019 at 11:51:35AM +0100, Igor Mammedov wrote:
> On Tue, 31 Dec 2019 18:34:34 +0800
> Eryu Guan wrote:
>
> > Hi,
> >
> > I'm using qemu 4.0 and hit segfault when tearing down kata sandbox, I
> > think it's because io completion hits use-after-free when device is
> > already gone.
On Tue, Dec 31, 2019 at 07:32:11PM +0100, Philippe Mathieu-Daudé wrote:
> The CONFIG_PSERIES already selects CONFIG_PCI.
> Simplify the Makefile rules.
>
> Signed-off-by: Philippe Mathieu-Daudé
Acked-by: David Gibson
> ---
> hw/ppc/Makefile.objs | 5 +
> 1 file changed, 1 insertion(+), 4
On Tue, Dec 31, 2019 at 07:32:10PM +0100, Philippe Mathieu-Daudé wrote:
> When configured with --without-default-devices, the build fails:
>
> LINKppc-softmmu/qemu-system-ppc
> /usr/bin/ld: hw/ppc/virtex_ml507.o: in function `ppc440_init_xilinx':
> hw/ppc/virtex_ml507.c:112: undefined
On Tue, Dec 31, 2019 at 07:32:08PM +0100, Philippe Mathieu-Daudé wrote:
> Only the PowerPC e500-based platforms use the MPC I2C controller.
> Do not build it for the other machines.
>
> Signed-off-by: Philippe Mathieu-Daudé
Acked-by: David Gibson
> ---
> default-configs/ppc-softmmu.mak | 1 -
On Tue, Dec 31, 2019 at 07:32:12PM +0100, Philippe Mathieu-Daudé wrote:
> The fw_cfg helpers are only used by machines using OpenBIOS.
>
> Signed-off-by: Philippe Mathieu-Daudé
Acked-by: David Gibson
> ---
> Cc: Mark Cave-Ayland
> Cc: "Hervé Poussineau"
> ---
> hw/ppc/Kconfig | 6
On Tue, Dec 31, 2019 at 07:32:15PM +0100, Philippe Mathieu-Daudé wrote:
> Only the OpenBIOS and SLOF firmwares use the CHRP NVRAM layout.
>
> Signed-off-by: Philippe Mathieu-Daudé
Acked-by: David Gibson
> ---
> hw/nvram/Kconfig | 4
> hw/nvram/Makefile.objs | 2 +-
> hw/ppc/Kconfig
On Tue, Dec 31, 2019 at 07:32:09PM +0100, Philippe Mathieu-Daudé wrote:
> When configured with --without-default-devices, the build fails:
>
> LINKppc-softmmu/qemu-system-ppc
> /usr/bin/ld: hw/ppc/sam460ex.o: in function `sam460ex_init':
> hw/ppc/sam460ex.c:313: undefined reference to
On Tue, Dec 31, 2019 at 07:32:13PM +0100, Philippe Mathieu-Daudé wrote:
> Not all machines use the ppc_create_page_sizes_prop() helper.
>
> Signed-off-by: Philippe Mathieu-Daudé
Acked-by: David Gibson
> ---
> Can Kconfig can restrict to TARGET_PPC64?
> ---
> hw/ppc/Kconfig | 10
On Tue, Dec 31, 2019 at 08:39:15AM -0500, Peter Xu wrote:
> The kvm irqchip notifier is only registered if the device supports
> INTx, however it's unconditionally removed. If the assigned device
> does not support INTx, this will cause QEMU to crash when unplugging
> the device from the system.
On 19/12/2019 14:14, Bharata B Rao wrote:
> A pseries guest can be run as a secure guest on Ultravisor-enabled
> POWER platforms. When such a secure guest is reset, we need to
> release/reset a few resources both on ultravisor and hypervisor side.
> This is achieved by invoking this new ioctl KV
Invoking KVM_SVM_OFF ioctl for TCG guests will lead to a QEMU crash.
Fix this by ensuring that we don't call KVM_SVM_OFF ioctl on TCG.
Reported-by: Alexey Kardashevskiy
Fixes: 4930c1966249 ("ppc/spapr: Support reboot of secure pseries guest")
Signed-off-by: Bharata B Rao
---
target/ppc/kvm.c |
On Thu, Jan 2, 2020 at 1:43 AM Michael S. Tsirkin wrote:
> On Thu, Dec 26, 2019 at 06:36:49AM +0200, Yuri Benditovich wrote:
> > https://bugzilla.redhat.com/show_bug.cgi?id=1708480
> > If the control queue is not deleted together with TX/RX, it
> > later will be ignored in freeing cache resources
On Thu, Jan 2, 2020 at 1:50 AM Michael S. Tsirkin wrote:
> On Thu, Dec 26, 2019 at 11:29:50AM +0200, Yuri Benditovich wrote:
> > On Thu, Dec 26, 2019 at 10:58 AM Jason Wang wrote:
> > >
> > >
> > > On 2019/12/26 下午12:36, Yuri Benditovich wrote:
> > > > https://bugzilla.redhat.com/show_bug.cgi?id
Hi Gred,
We are seeing of options to reuse the hcd-xhci model and use it over system bus
interface rather than pci. (for Xilinx ZynqMP SOC, usb emulation)
Are there any plans of implementing a sysbus device ? if none it would be good
if provided few pointers to start.
Im looking at hcd-ehci/och
On Thu, Jan 02, 2020 at 11:11:55AM +0530, Bharata B Rao wrote:
> Invoking KVM_SVM_OFF ioctl for TCG guests will lead to a QEMU crash.
> Fix this by ensuring that we don't call KVM_SVM_OFF ioctl on TCG.
>
> Reported-by: Alexey Kardashevskiy
> Fixes: 4930c1966249 ("ppc/spapr: Support reboot of secu
This patch set adds support for FWNMI in PowerKVM guests.
System errors such as SLB multihit and memory errors
that cannot be corrected by hardware is passed on to
the kernel for handling by raising machine check
exception (an NMI). Upon such machine check exceptions,
if the address in error belon
From: Aravinda Prasad
Upon a machine check exception (MCE) in a guest address space,
KVM causes a guest exit to enable QEMU to build and pass the
error to the guest in the PAPR defined rtas error log format.
This patch builds the rtas error log, copies it to the rtas_addr
and then invokes the gu
From: Aravinda Prasad
Introduce fwnmi an spapr capability and validate it against
the kernels existing capability by trying to enable it.
[eliminate cap_ppc_fwnmi, add fwnmi cap to migration state
and reprhase the commit message]
Signed-off-by: Ganesh Goudar
Signed-off-by: Aravinda Prasad
---
From: Aravinda Prasad
This patch includes migration support for machine check
handling. Especially this patch blocks VM migration
requests until the machine check error handling is
complete as these errors are specific to the source
hardware and is irrelevant on the target hardware.
[Do not set
From: Aravinda Prasad
Introduce a wrapper function to wait on condition for
the main loop mutex. This function atomically releases
the main loop mutex and causes the calling thread to
block on the condition. This wrapper is required because
qemu_global_mutex is a static variable.
Signed-off-by:
From: Aravinda Prasad
This patch adds support in QEMU to handle "ibm,nmi-register"
and "ibm,nmi-interlock" RTAS calls.
The machine check notification address is saved when the
OS issues "ibm,nmi-register" RTAS call.
This patch also handles the case when multiple processors
experience machine ch
From: Aravinda Prasad
This patch sets the default value of SPAPR_CAP_FWNMI_MCE
to SPAPR_CAP_ON for machine type 4.2.
Signed-off-by: Aravinda Prasad
---
hw/ppc/spapr.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/hw/ppc/spapr.c b/hw/ppc/spapr.c
index 4acdc30100..e705b0f
From: Aravinda Prasad
Memory error such as bit flips that cannot be corrected
by hardware are passed on to the kernel for handling.
If the memory address in error belongs to guest then
the guest kernel is responsible for taking suitable action.
Patch [1] enhances KVM to exit guest with exit reaso
44 matches
Mail list logo