Hi,
On 02/15/2018 02:39 PM, Peter Maydell wrote:
On 8 February 2018 at 05:50, Pekka Enberg wrote:
This patch adds a "raspi3" machine type, which can now be selected as
the machine to run on by users via the "-M" command line option to QEMU.
The machine type does *not* ignore memory transactio
On 02/15/2018 01:48 PM, Peter Maydell wrote:
On 8 February 2018 at 05:50, Pekka Enberg wrote:
This patch adds a "cpu-type" property to BCM2836 SoC in preparation for
reusing the code for the Raspberry Pi 3, which has a different processor
model.
Signed-off-by: Pekka Enberg
--- a/hw/arm/r
This patch adds Raspberry Pi 3 support to hw/arm/raspi.c. The
differences to Pi 2 are:
- Firmware address
- Board ID
- Board revision
The CPU is different too, but that's going to be configured as part of
the machine default CPU when we introduce a new machine type.
The patch was written from
This patch adds a "raspi3" machine type, which can now be selected as
the machine to run on by users via the "-M" command line option to QEMU.
The machine type does *not* ignore memory transaction failures so we
likely need to add some dummy devices later when people run something
more complicated
This patch adds a "cpu-type" property to BCM2836 SoC in preparation for
reusing the code for the Raspberry Pi 3, which has a different processor
model.
Signed-off-by: Pekka Enberg
---
hw/arm/bcm2836.c | 17 +
hw/arm/raspi.c | 3 +++
include/hw/arm/bcm2836.h |
This patch series adds support for Raspberry Pi 3 as a new machine model
"raspi3", which is an extension of the "raspi2" model with the following
differences:
- Default CPU type is "cortex-a53"
- Firmware is at address 0x8
- Board ID is 0xc44 and board revision is 0xa02082
The patches w
On 15.02.2018 22:27, BALATON Zoltan wrote:
> Remaining patches for Sam460ex emulation. The original cover letter
> with more details is here:
>
> http://lists.nongnu.org/archive/html/qemu-ppc/2017-08/msg00112.html
>
> We'll need to also add binaries for firmware (customised u-boot
> version) and
OK, thanks for checking again! So I'm closing this ticket now.
** Changed in: qemu
Status: Incomplete => Fix Released
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1331334
Title:
driftfix=n
On 15.02.2018 21:19, Dr. David Alan Gilbert wrote:
> * Peter Maydell (peter.mayd...@linaro.org) wrote:
>> On 14 February 2018 at 15:39, Dr. David Alan Gilbert (git)
>> wrote:
>>> From: "Dr. David Alan Gilbert"
>>>
>>> The following changes since commit bec9c64ef7be8063f1192608b83877bc5c9ea217:
>>
Commit 92b540dac9fc3a5 introduce a counter to handle the timeouts in a
better way. But in case ccnt reaches 512, the current read character is
ignored - and if that character is part of the string that we are looking
for, the test fails to match the string.
Almost all of the tests look for a strin
On Wed, Feb 14, 2018 at 08:55:41AM -0700, Alex Williamson wrote:
> On Wed, 14 Feb 2018 19:09:16 +1100
> Alexey Kardashevskiy wrote:
>
> > On 14/02/18 12:33, David Gibson wrote:
> > > On Tue, Feb 13, 2018 at 07:20:56PM +1100, Alexey Kardashevskiy wrote:
> > >> On 13/02/18 16:41, David Gibson wro
On 16.02.2018 00:55, Philippe Mathieu-Daudé wrote:
> On 02/04/2018 07:23 PM, Richard Henderson wrote:
>> Reviewed-by: Thomas Huth
>> Signed-off-by: Richard Henderson
>> ---
>> tests/boot-serial-test.c | 1 +
>> tests/Makefile.include | 2 ++
>> 2 files changed, 3 insertions(+)
>>
>> diff --git
On Fri, Feb 16, 2018 at 01:33:28PM +1100, Suraj Jitindar Singh wrote:
> For the pseries-2.12 machine type, make the spapr-caps SPAPR_CAP_CFPC
> and SPAPR_CAP_SBBC default to workaround. Thus if the host is capable
> the guest will be able to take advantage of these workarounds by default.
> Otherwi
On Thu, Feb 15, 2018 at 10:27:06PM +0100, BALATON Zoltan wrote:
> Add emulation of aCube Sam460ex board based on AMCC 460EX embedded SoC.
> This is not a complete implementation yet with a lot of components
> still missing but enough for the U-Boot firmware to start and to boot
> a Linux kernel or
This was fairly straightforward since it had already been converted
to DisasContextBase; just had to add TARGET_TOO_MANY to the switch
in tb_stop.
Signed-off-by: Emilio G. Cota
---
target/sh4/translate.c | 175 +
1 file changed, 90 insertions(+), 8
On Thu, Feb 15, 2018 at 10:27:06PM +0100, BALATON Zoltan wrote:
> These devices are found in newer SoCs based on 440 core e.g. the 460EX
> (http://www.embeddeddeveloper.com/assets/processors/amcc/datasheets/
> PP460EX_DS2063.pdf)
>
> Signed-off-by: BALATON Zoltan
Applied, thanks.
> ---
>
> v2:
sh4 will need it.
Signed-off-by: Emilio G. Cota
---
accel/tcg/translator.c | 2 +-
include/exec/translator.h | 3 ++-
target/alpha/translate.c | 3 ++-
target/arm/translate-a64.c | 4 +++-
target/arm/translate.c | 4 +++-
target/hppa/translate.c| 4 +++-
target/i386/translate.c
Tested on Aurelien's debian sh4 image.
There's a twist in this conversion in that max_insns might be
modified by .tb_start; this is what patch 1 introduces.
Note that I've sent patches for converting other targets to the
translation loop; those have not yet hit master so in patch 1
I am ignoring
I am unable to reproduce this with qemu 2.11.0
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1331334
Title:
driftfix=none and migration on Win7 guest causes time to go 10 times
as fast
Status in
What is interesting with this patch, is that, forcing use of system
capstone, Travis builds ran much faster; longest build took 40min:
https://travis-ci.org/philmd/qemu/builds/341979248
This revealed (without profiling yet) that compiling the capstone C++
takes some time...
mingw32@i7-4600U# time
All,
I think that the issue I pointed out the list is not a QEMU bug at all but a
GDB bug. GDB's sparc software single step implementation seems to be what is
stuck. It always re-sets the breakpoint at the current instruction in this
case. It calculates the breakpoint offsets by analyzing the i
On Fri, Feb 16, 2018 at 01:33:27PM +1100, Suraj Jitindar Singh wrote:
> The spapr-cap cap-ibs can only have values broken or fixed as there is
> no explicit workaround required. Currently setting the value workaround
> for this cap will hit an assert if the guest makes the hcall
> h_get_cpu_charact
For the pseries-2.12 machine type, make the spapr-caps SPAPR_CAP_CFPC
and SPAPR_CAP_SBBC default to workaround. Thus if the host is capable
the guest will be able to take advantage of these workarounds by default.
Otherwise if the host doesn't have these capabilities qemu will fail to
start and the
The spapr-cap cap-ibs can only have values broken or fixed as there is
no explicit workaround required. Currently setting the value workaround
for this cap will hit an assert if the guest makes the hcall
h_get_cpu_characteristics.
Report an error when attempting to apply the setting with a more he
omap_mmc.c is the last user left.
Signed-off-by: Philippe Mathieu-Daudé
---
include/hw/sd/sd.h| 16 --
include/hw/sd/sdcard_legacy.h | 50 +++
hw/sd/omap_mmc.c | 2 +-
hw/sd/sd.c| 1 +
4 files chan
Signed-off-by: Philippe Mathieu-Daudé
Reviewed-by: Alistair Francis
Acked-by: Michael Walle
---
hw/sd/milkymist-memcard.c | 17 ++---
1 file changed, 10 insertions(+), 7 deletions(-)
diff --git a/hw/sd/milkymist-memcard.c b/hw/sd/milkymist-memcard.c
index 341da88552..1292c0c099 100
On reset the bus will reset the card,
we can now drop the device_reset() call.
Signed-off-by: Philippe Mathieu-Daudé
Reviewed-by: Alistair Francis
---
hw/sd/ssi-sd.c | 32 +++-
1 file changed, 19 insertions(+), 13 deletions(-)
diff --git a/hw/sd/ssi-sd.c b/hw/sd/ssi
using the sdbus_*() API.
Signed-off-by: Philippe Mathieu-Daudé
---
RFC because how pl181_sdbus_create_inplace() doing class_init(SDBus) in
realize(pl181) seems weird...
from http://lists.nongnu.org/archive/html/qemu-devel/2018-02/msg01268.html:
I think you have to change that sd_set_cb() c
It belongs to the legacy API (the last user has been converted).
Signed-off-by: Philippe Mathieu-Daudé
---
include/hw/sd/sd.h | 1 -
hw/sd/sd.c | 2 +-
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/include/hw/sd/sd.h b/include/hw/sd/sd.h
index bf1eb0713c..4491db98de 10064
Create the SDCard in the realize() function.
Suggested-by: Michael Walle
Signed-off-by: Philippe Mathieu-Daudé
Reviewed-by: Alistair Francis
Acked-by: Michael Walle
---
hw/sd/milkymist-memcard.c | 28
1 file changed, 16 insertions(+), 12 deletions(-)
diff --git a
using the sdbus_*() API.
Signed-off-by: Philippe Mathieu-Daudé
Reviewed-by: Alistair Francis
Acked-by: Michael Walle
---
hw/sd/milkymist-memcard.c | 38 +-
1 file changed, 21 insertions(+), 17 deletions(-)
diff --git a/hw/sd/milkymist-memcard.c b/hw/sd/milk
Hi,
Since v2:
- pl181: remove legacy sd_set_cb() (Peter)
Since v1:
- rebased on /master (Peter sdcard reset() patches)
- fix milkymist-mmc from previous seris using instance_init (Michael Walle)
This series convert 3 devices using the legacy SDCard API to the SDBus API:
- milkymist-mmc
- pl181
-
Signed-off-by: Emilio G. Cota
---
target/mips/translate.c | 346
1 file changed, 175 insertions(+), 171 deletions(-)
diff --git a/target/mips/translate.c b/target/mips/translate.c
index a133205..aefd729 100644
--- a/target/mips/translate.c
+++ b/t
No changes to the logic here; this is just to make the diff
that follows easier to read.
While at it, remove the unnecessary 'struct' in
'struct TranslationBlock'.
Note that checkpatch complains with a false positive:
ERROR: space prohibited after that '&' (ctx:WxW)
#75: FILE: target/mips/tra
Tested with Aurelien's debian wheezy image for mips64.
The third patch is just to improve the diff--saves about 20%
of diff lines in patch 4, but feel free to squash it with the latter.
Thanks,
Emilio
Signed-off-by: Emilio G. Cota
---
target/mips/translate.c | 186 +++-
1 file changed, 91 insertions(+), 95 deletions(-)
diff --git a/target/mips/translate.c b/target/mips/translate.c
index d05ee67..a133205 100644
--- a/target/mips/translate.c
+++ b/tar
Notes:
- DISAS_TOO_MANY replaces the former "break" in the translation loop.
However, care must be taken not to overwrite a previous condition
in is_jmp; that's why in translate_insn we first check is_jmp and
return if it's != DISAS_NEXT.
- Added an assert in translate_insn, before exiting
On Thu, Feb 15, 2018 at 02:51:47PM -0500, Emilio G. Cota wrote:
> Changes from v1:
> - Removed use of translator_loop_temp_check; call tcg_check_temp_count
> directly.
> - Add R-b's.
Applied to ppc-for-2.12, thanks.
>
> Thanks,
>
> Emilio
>
--
David Gibson
On Thu, Feb 15, 2018 at 8:55 PM, Philippe Mathieu-Daudé wrote:
> On 02/04/2018 07:23 PM, Richard Henderson wrote:
>> Reviewed-by: Thomas Huth
>> Signed-off-by: Richard Henderson
>> ---
>> tests/boot-serial-test.c | 1 +
>> tests/Makefile.include | 2 ++
>> 2 files changed, 3 insertions(+)
>>
Hi,
afaik (but not tested) pkgconfig --cflags reports /includes on linux,
and it does the same on Haiku too.
I'm not against to change our capstone recipe, but please, if you can
check it on Linux and report it back, as i don't want to break other
software.
Thanks for the nice talk, guys!
--
On 02/04/2018 07:23 PM, Richard Henderson wrote:
> Reviewed-by: Thomas Huth
> Signed-off-by: Richard Henderson
> ---
> tests/boot-serial-test.c | 1 +
> tests/Makefile.include | 2 ++
> 2 files changed, 3 insertions(+)
>
> diff --git a/tests/boot-serial-test.c b/tests/boot-serial-test.c
> ind
Signed-off-by: Emilio G. Cota
---
target/sparc/translate.c | 27 +++
1 file changed, 15 insertions(+), 12 deletions(-)
diff --git a/target/sparc/translate.c b/target/sparc/translate.c
index 71e0853..730e25d 100644
--- a/target/sparc/translate.c
+++ b/target/sparc/translat
Notes:
- Moved the cross-page check from the end of translate_insn to
init_disas_context.
Signed-off-by: Emilio G. Cota
---
target/sparc/translate.c | 181 +++
1 file changed, 88 insertions(+), 93 deletions(-)
diff --git a/target/sparc/translate.c
v3:
3/5: Add a property that sets r/w to on/off (default:off)
Restructure ifdefs
4/5: Sort the response codes
5/5: Use actual names for fields in the dataset
Copy uint16_t to wchar_t and use wcstombs to get char type
for filename
v2:
3/5: Set mtp store flag to read onl
Fix a possible null dereference when deleting a folder and
its contents. An ignored event might be received for its contents
after the parent folder is deleted which will return a null object.
Signed-off-by: Bandan Das
---
hw/usb/dev-mtp.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(
Write of existing objects by the initiator is acheived by
making a temporary buffer with the new changes, deleting the
old file and then writing a new file with the same name.
Also, add a "readonly" property which needs to be set to false
for deletion to work.
Signed-off-by: Bandan Das
---
hw/u
The response to a SendObjectInfo consists of the storageid,
parent obejct handle and the handle reserved for the new
incoming object
Signed-off-by: Bandan Das
---
hw/usb/dev-mtp.c | 50 +++---
1 file changed, 27 insertions(+), 23 deletions(-)
diff --g
It is possible while waiting for multiple types of external
interrupts that we might have pending irqs remaining between
irq consumption and irq-type disabling. Those interrupts
could potentially propagate to the guest after IPL completes
and cause unwanted behavior.
As it is today, the SCLP will
Notes:
- pc and npc are left unmodified, since they can point to out-of-TB
jump targets.
- Got rid of last_pc in gen_intermediate_code(), using base.pc_next
instead. Only update pc_next (1) on a breakpoint (so that tb->size
includes the insn), and (2) after reading the current instruction
On 02/15/2018 08:03 PM, Alistair Francis wrote:
> On Thu, Feb 15, 2018 at 2:39 PM, Philippe Mathieu-Daudé
> wrote:
>> Hi Alistair,
>>
>> On 02/15/2018 07:31 PM, Alistair Francis wrote:
>>> On Wed, Feb 14, 2018 at 8:28 PM, Philippe Mathieu-Daudé
>>> wrote:
It ease code review, unit is expli
Read the stage2 boot loader data block-by-block. We scan the
current block for the string "zIPL" to detect the start of the
boot menu banner. We then load the adjacent blocks (previous
block and next block) to account for the possibility of menu
data spanning multiple blocks.
Signed-off-by: Collin
Tested by booting a NetBSD guest.
Thanks,
Emilio
On Mon, Feb 5, 2018 at 10:44 AM, Alistair Francis
wrote:
> Ensure that the post write hook is called during reset. This allows us
> to rely on the post write functions instead of having to call them from
> the reset() function.
>
> Signed-off-by: Alistair Francis
> Reviewed-by: Philippe Mathieu-D
Add new cylinder/head/sector struct. Use it to calculate
eckd block numbers instead of a BootMapPointer (which used
eckd chs anyway).
Signed-off-by: Collin L. Walling
---
pc-bios/s390-ccw/bootmap.c | 28 ++--
pc-bios/s390-ccw/bootmap.h | 8 ++--
2 files changed, 20 i
This patch implements a dummy ObjectInfo structure so that
it's easy to typecast the incoming data. If the metadata is
valid, write_pending is set. Also, the incoming filename
is utf-16, so, instead of depending on external libraries, just
implement a simple function to get the filename
Signed-off
Interactive boot menu for scsi. This follows a similar procedure
as the interactive menu for eckd dasd. An example follows:
s390x Enumerated Boot Menu.
3 entries detected. Select from index 0 to 2.
Signed-off-by: Collin L. Walling
Reviewed-by: Thomas Huth
---
pc-bios/s390-ccw/bootmap.
Allow write operations on behalf of the initiator. The
precursor to write is the sending of the write metadata
that consists of the ObjectInfo dataset. This patch introduces
a flag that is set when the responder is ready to receive
write data based on a previous SendObjectInfo operation by
the init
--- [v6] ---
- cleaned up libc.c
- expanded timeout field in QemuIPLB from 2 bytes to 4 bytes
- we can now store the timeout value from command line as ms
- sclp_set_write_mask now accepts two parameters:
- receive_mask
- send_mask
- the write mask for receive is onl
Set boot menu options for an s390 guest and store them in
the iplb. These options are set via the QEMU command line
option:
-boot menu=on|off[,splash-time=X]
or via the libvirt domain xml:
Where X represents some positive integer representing
milliseconds.
Any value set fo
Reads boot menu flag and timeout values from the iplb and
sets the respective fields for the menu.
Signed-off-by: Collin L. Walling
Reviewed-by: Thomas Huth
---
pc-bios/s390-ccw/Makefile | 2 +-
pc-bios/s390-ccw/main.c | 24
pc-bios/s390-ccw/menu.c | 26 +++
Implements an sclp_read function to capture input from the
console and a wrapper function that handles parsing certain
characters and adding input to a buffer. The input is checked
for any erroneous values and is handled appropriately.
A prompt will persist until input is entered or the timeout
ex
On 02/15/2018 07:51 AM, Vladimir Sementsov-Ogievskiy wrote:
Minimal realization: only one extent in server answer is supported.
Signed-off-by: Vladimir Sementsov-Ogievskiy
---
include/block/nbd.h | 33 ++
nbd/common.c| 10 ++
nbd/server.c| 310 +
When the boot menu options are present and the guest's
disk has been configured by the zipl tool, then the user
will be presented with an interactive boot menu with
labeled entries. An example of what the menu might look
like:
zIPL v1.37.1-build-20170714 interactive boot menu.
0. default (linux
ECKD DASDs have different IPL structures for CDL and LDL
formats. The current Ipl1 and Ipl2 structs follow the CDL
format, so we prepend "EckdCdl" to them. Boot info for LDL
has been moved to a new struct: EckdLdlIpl1.
Signed-off-by: Collin L. Walling
Acked-by: Janosch Frank
Reviewed-by: Thomas
The s390-ccw firmware needs some information in support of the
boot process which is not available on the native machine.
Examples are the netboot firmware load address and now the
boot menu parameters.
While storing that data in unused fields of the IPL parameter block
works, that approach could
Some ECKD bootmap code was using structs designed for SCSI.
Even though this works, it confuses readability. Add a new
BootMapTable struct to assist with readability in bootmap
entry code. Also:
- replace ScsiMbr in ECKD code with appropriate structs
- fix read_block messages to reflect BootMapTab
On Thu, Feb 15, 2018 at 2:13 PM, Philippe Mathieu-Daudé wrote:
> returning sd_illegal, since they are not implemented.
>
> Signed-off-by: Philippe Mathieu-Daudé
> ---
> hw/sd/sd.c | 11 +++
> 1 file changed, 11 insertions(+)
>
> diff --git a/hw/sd/sd.c b/hw/sd/sd.c
> index 30acd04ad7..04
Moved:
memcmp from bootmap.h to libc.h (renamed from _memcmp)
strlen from sclp.c to libc.h (renamed from _strlen)
Added C standard functions:
isdigit
Added non C-standard function:
uitoa
atoui
Signed-off-by: Collin L. Walling
Acked-by: Christian Borntraeger
Reviewed-by: Janosch Frank
On Thu, Feb 15, 2018 at 2:39 PM, Philippe Mathieu-Daudé wrote:
> Hi Alistair,
>
> On 02/15/2018 07:31 PM, Alistair Francis wrote:
>> On Wed, Feb 14, 2018 at 8:28 PM, Philippe Mathieu-Daudé
>> wrote:
>>> It ease code review, unit is explicit.
>>>
>>> Signed-off-by: Philippe Mathieu-Daudé
>>
>> T
On Thu, Feb 15, 2018 at 5:23 AM, Philippe Mathieu-Daudé wrote:
> Hi Peter,
>
> On 02/01/2018 09:42 PM, Alistair Francis wrote:
>> The BCM2836 uses a Cortex-A7 not a Cortex-A15. Update the device to use
>> the correct CPU.
>> https://www.raspberrypi.org/documentation/hardware/raspberrypi/bcm2836/QA
Hi Alistair,
On 02/15/2018 07:31 PM, Alistair Francis wrote:
> On Wed, Feb 14, 2018 at 8:28 PM, Philippe Mathieu-Daudé
> wrote:
>> It ease code review, unit is explicit.
>>
>> Signed-off-by: Philippe Mathieu-Daudé
>
> The logic looks good.
>
> Did you do this automatically? If so you should i
On Thu, Feb 15, 2018 at 2:13 PM, Philippe Mathieu-Daudé wrote:
> Signed-off-by: Philippe Mathieu-Daudé
Reviewed-by: Alistair Francis
Alistair
> ---
> hw/sd/sd.c | 4
> 1 file changed, 4 insertions(+)
>
> diff --git a/hw/sd/sd.c b/hw/sd/sd.c
> index ada96f5574..b9429b06ca 100644
> --- a/
On Thu, Feb 15, 2018 at 2:13 PM, Philippe Mathieu-Daudé wrote:
> Suggested-by: Alistair Francis
> Signed-off-by: Philippe Mathieu-Daudé
Reviewed-by: Alistair Francis
Alistair
> ---
> hw/sd/sd.c | 22 +-
> 1 file changed, 13 insertions(+), 9 deletions(-)
>
> diff --git a/
So far this device intends to model the Spec v1.10
Signed-off-by: Philippe Mathieu-Daudé
Reviewed-by: Alistair Francis
---
hw/sd/sd.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/hw/sd/sd.c b/hw/sd/sd.c
index b9429b06ca..d4565626ce 100644
--- a/hw/sd/sd.c
+++ b/hw/sd/sd.c
@@ -47,6
On Thu, Feb 15, 2018 at 2:13 PM, Philippe Mathieu-Daudé wrote:
> Signed-off-by: Philippe Mathieu-Daudé
Reviewed-by: Alistair Francis
Alistair
> ---
> hw/sd/sd.c | 29 ++---
> 1 file changed, 26 insertions(+), 3 deletions(-)
>
> diff --git a/hw/sd/sd.c b/hw/sd/sd.c
> i
Signed-off-by: Philippe Mathieu-Daudé
---
hw/sd/sd.c | 4
1 file changed, 4 insertions(+)
diff --git a/hw/sd/sd.c b/hw/sd/sd.c
index ada96f5574..b9429b06ca 100644
--- a/hw/sd/sd.c
+++ b/hw/sd/sd.c
@@ -93,6 +93,7 @@ struct SDState {
/* Configurable properties */
BlockBackend *blk;
On Mon, Feb 12, 2018 at 8:08 PM, Philippe Mathieu-Daudé wrote:
> Signed-off-by: Philippe Mathieu-Daudé
Reviewed-by: Alistair Francis
Alistair
> ---
> hw/sd/sdhci-internal.h | 9 +
> hw/sd/sdhci.c | 14 ++
> 2 files changed, 23 insertions(+)
>
> diff --git a/hw/s
replace switch(single case) -> if()
Signed-off-by: Philippe Mathieu-Daudé
Reviewed-by: Alistair Francis
---
hw/sd/sd.c | 56 ++--
1 file changed, 26 insertions(+), 30 deletions(-)
diff --git a/hw/sd/sd.c b/hw/sd/sd.c
index 942143ab3e..911aae6
qemu should read and report huge page allocation
statistics exported in the following kernel patch:
commit 01be4bb1aafeab73feba628c6dd120cd6647faae
Author: Jonathan Helman
Date: Thu Feb 15 10:59:03 2018 -0800
virtio_balloon: export huge page allocation statistics
Export st
Suggested-by: Alistair Francis
Signed-off-by: Philippe Mathieu-Daudé
---
hw/sd/sd.c | 22 +-
1 file changed, 13 insertions(+), 9 deletions(-)
diff --git a/hw/sd/sd.c b/hw/sd/sd.c
index 0457f5214b..4f82638735 100644
--- a/hw/sd/sd.c
+++ b/hw/sd/sd.c
@@ -1183,8 +1183,9 @@ stat
On Tue, Feb 13, 2018 at 12:54 PM, Richard Braun wrote:
> I/O currently being synchronous, there is no reason to ever clear the
> SR_TXE bit. However the SR_TC bit may be cleared by software writing
> to the SR register, so set it on each write.
>
> In addition, fix the reset value of the USART sta
returning sd_illegal, since they are not implemented.
Signed-off-by: Philippe Mathieu-Daudé
---
hw/sd/sd.c | 11 +++
1 file changed, 11 insertions(+)
diff --git a/hw/sd/sd.c b/hw/sd/sd.c
index 30acd04ad7..0457f5214b 100644
--- a/hw/sd/sd.c
+++ b/hw/sd/sd.c
@@ -1551,6 +1551,17 @@ static
Linux uses it to poll the bus before polling for a card.
Signed-off-by: Philippe Mathieu-Daudé
Reviewed-by: Alistair Francis
---
hw/sd/sd.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/hw/sd/sd.c b/hw/sd/sd.c
index b567c44da8..30acd04ad7 100644
--- a/hw/sd/sd.c
+++ b
[based on a patch from Alistair Francis
from qemu/xilinx tag xilinx-v2015.2]
Signed-off-by: Philippe Mathieu-Daudé
---
hw/sd/sd.c | 148 +
hw/sd/trace-events | 1 +
2 files changed, 127 insertions(+), 22 deletions(-)
diff --git a/hw
On Wed, Feb 14, 2018 at 8:28 PM, Philippe Mathieu-Daudé wrote:
> It ease code review, unit is explicit.
>
> Signed-off-by: Philippe Mathieu-Daudé
The logic looks good.
Did you do this automatically? If so you should include the commands
in the commit message.
Reviewed-by: Alistair Francis
Al
To comply with Spec v1.10 (and 2.00, 3.01):
. TRAN_SPEED
for current SD Memory Cards that field must be always 0_0110_010b (032h) which
is
equal to 25MHz - the mandatory maximum operating frequency of SD Memory Card.
Signed-off-by: Philippe Mathieu-Daudé
Reviewed-by: Alistair Francis
---
hw/
[based on a patch from Alistair Francis
from qemu/xilinx tag xilinx-v2015.2]
Signed-off-by: Philippe Mathieu-Daudé
Reviewed-by: Alistair Francis
---
hw/sd/sd.c | 24
1 file changed, 24 insertions(+)
diff --git a/hw/sd/sd.c b/hw/sd/sd.c
index 911aae6233..4b0bb7992d 100
Some refactors, few bugfixes, better SD/SPI support.
With this series apply, machines can use SD cards in UHS-I mode.
(mostly imported from Alistair Francis work)
MMC mode split out for another series,
so UHS enabled MMC cards are still not usable:
kernel: mmc0: SDHCI controller on PCI [:0
Signed-off-by: Philippe Mathieu-Daudé
Reviewed-by: Alistair Francis
---
hw/sd/sd.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/hw/sd/sd.c b/hw/sd/sd.c
index c2f01a5fa3..5827379d0f 100644
--- a/hw/sd/sd.c
+++ b/hw/sd/sd.c
@@ -1395,6 +1395,11 @@ static sd_rsp_type_t sd_normal_command(
replace switch(single case) -> if()
Signed-off-by: Philippe Mathieu-Daudé
Reviewed-by: Alistair Francis
---
hw/sd/sd.c | 26 +++---
1 file changed, 11 insertions(+), 15 deletions(-)
diff --git a/hw/sd/sd.c b/hw/sd/sd.c
index 5827379d0f..942143ab3e 100644
--- a/hw/sd/sd.c
++
use the registerfields API to access the OCR register
Signed-off-by: Philippe Mathieu-Daudé
Reviewed-by: Alistair Francis
---
hw/sd/sd.c | 21 -
1 file changed, 16 insertions(+), 5 deletions(-)
diff --git a/hw/sd/sd.c b/hw/sd/sd.c
index b43baa2edd..3970e590e6 100644
--- a/h
These devices are found in newer SoCs based on 440 core e.g. the 460EX
(http://www.embeddeddeveloper.com/assets/processors/amcc/datasheets/
PP460EX_DS2063.pdf)
Signed-off-by: BALATON Zoltan
---
v2:
- Rebased to latest changes on master
- Removed printfs
hw/ppc/ppc440.h| 26 +
hw/
Signed-off-by: Philippe Mathieu-Daudé
Reviewed-by: Alistair Francis
---
hw/sd/sd.c | 8
1 file changed, 8 insertions(+)
diff --git a/hw/sd/sd.c b/hw/sd/sd.c
index 0ecb446fdb..c2f01a5fa3 100644
--- a/hw/sd/sd.c
+++ b/hw/sd/sd.c
@@ -1390,6 +1390,14 @@ static sd_rsp_type_t sd_normal_comma
the code is easier to review/refactor.
Signed-off-by: Philippe Mathieu-Daudé
Reviewed-by: Alistair Francis
---
hw/sd/sd.c | 38 +-
1 file changed, 9 insertions(+), 29 deletions(-)
diff --git a/hw/sd/sd.c b/hw/sd/sd.c
index 4267919ce0..b43baa2edd 100644
--- a
put the function in sdmmc-common.c since we will reuse it in hw/sd/core.c
Signed-off-by: Philippe Mathieu-Daudé
---
hw/sd/sd.c | 14 ++
hw/sd/trace-events | 8
2 files changed, 14 insertions(+), 8 deletions(-)
diff --git a/hw/sd/sd.c b/hw/sd/sd.c
index 666ff3873f..
Don't set the high capacity bit by default as it will be set if required
in the sd_set_csd() function.
[based on a patch from Alistair Francis
and Peter Ogden from qemu/xilinx tag xilinx-v2015.4]
Signed-off-by: Philippe Mathieu-Daudé
Reviewed-by: Alistair Francis
---
hw/sd/sd.c | 5 -
1
Signed-off-by: Philippe Mathieu-Daudé
---
hw/sd/sd.c | 29 ++---
1 file changed, 26 insertions(+), 3 deletions(-)
diff --git a/hw/sd/sd.c b/hw/sd/sd.c
index 4f82638735..0ecb446fdb 100644
--- a/hw/sd/sd.c
+++ b/hw/sd/sd.c
@@ -1390,9 +1390,11 @@ static sd_rsp_type_t sd_norm
This device does not model MMCA Specification previous to v4.2
Signed-off-by: Philippe Mathieu-Daudé
Reviewed-by: Alistair Francis
---
hw/sd/sd.c | 33 -
1 file changed, 33 deletions(-)
diff --git a/hw/sd/sd.c b/hw/sd/sd.c
index 41fac9a4aa..4267919ce0 100644
---
put the function in sdmmc-common.c since we will reuse it in hw/sd/core.c
Signed-off-by: Philippe Mathieu-Daudé
---
hw/sd/sdmmc-internal.h | 3 +++
hw/sd/sd.c | 13 +
hw/sd/sdmmc-common.c | 72 ++
hw/sd/Makefile.objs| 2
Remaining patches for Sam460ex emulation. The original cover letter
with more details is here:
http://lists.nongnu.org/archive/html/qemu-ppc/2017-08/msg00112.html
We'll need to also add binaries for firmware (customised u-boot
version) and dtb but I'm not sure how to submit those.
Current status
1 - 100 of 399 matches
Mail list logo