commands, in TCG mode :
invalid bits: 0200 for opcode: 1f - 16 - 08 (7e09322c) 3fff799feca0
This patch adds the extended opcodes as no-ops just like the 'dcbt'
instruction. Other 'dcb*' instructions might be impacted but they
have not showed up yet.
Signed-off-by: Cédric Le Goater c
commands, in TCG mode :
invalid bits: 0200 for opcode: 1f - 16 - 08 (7e09322c) 3fff799feca0
This patch adds the extended opcodes for dcbt/dcbtst as no-ops just
like the 'dcbt' instruction.
Signed-off-by: Cédric Le Goater c...@fr.ibm.com
---
Changes in v2:
- added extended
These two small patches add a VHOST_VRING_F_BYTESWAP flag to the
vring which will be used by the kernel to byteswap the different
vring indexes.
The kernel patchset can be found on the kvm@ and kvm-ppc@ mailing
lists.
Cédric Le Goater (2):
vhost: add VHOST_VRING_F_BYTESWAP flag
vhost_net
When the guest and the host have a different endian order, the data
being accessed in the vring queues needs to be byteswapped.
This patch adds a VHOST_VRING_F_BYTESWAP flag to inform the vhost
kernel backend to byteswap vring data.
Signed-off-by: Cédric Le Goater c...@fr.ibm.com
---
hw
revert 371df9f5e0f1 vhost-net: disable when cross-endian
Signed-off-by: Cédric Le Goater c...@fr.ibm.com
---
hw/net/vhost_net.c | 19 ---
1 file changed, 19 deletions(-)
diff --git a/hw/net/vhost_net.c b/hw/net/vhost_net.c
index 4e3a06162291..721fb2da52f8 100644
--- a/hw/net
routine to write explicitly the
kvm_get_htab_header structs in big endian. The ptes are left untouched.
Signed-off-by: Cédric Le Goater c...@fr.ibm.com
Cc: Paul Mackerras pau...@samba.org
Cc: Alexey Kardashevskiy a...@ozlabs.ru
Cc: Gregory Kurz gk...@linux.vnet.ibm.com
---
This patch needs
On 11/12/2015 08:02 PM, miny...@acm.org wrote:
> This is a long delayed patch set, but I think I have things reworked
> to make Igor happy with the way ACPI and SMBIOS work. This is more
> consistent with the way most other things work, anyway. It did
> require adding stubs for systems without
On 11/30/2015 09:09 PM, Benjamin Herrenschmidt wrote:
> On Mon, 2015-11-30 at 19:15 +0100, Cédric Le Goater wrote:
>> The pnor file is compiled from github. The patch is below (without the dirty
>> cut and paste I did in loader.c). The offset for the PAYLOAD and BOOTKERNEL
>>
On 12/07/2015 02:25 AM, Stewart Smith wrote:
> Cédric Le Goater <c...@fr.ibm.com> writes:
>> On 11/28/2015 08:59 AM, Benjamin Herrenschmidt wrote:
>>> On Fri, 2015-11-27 at 11:21 +0100, Alexander Graf wrote:
>>>>
>>>> How does real hardwar
Signed-off-by: Cédric Le Goater <c...@fr.ibm.com>
---
hw/ipmi/ipmi_bmc_sim.c | 51 --
1 file changed, 49 insertions(+), 2 deletions(-)
diff --git a/hw/ipmi/ipmi_bmc_sim.c b/hw/ipmi/ipmi_bmc_sim.c
index 559e1398d669..061db8437479 100644
--
The IPMI BMC simulator populates the SDR table with a set of initial
SDRs. The length of each SDR is taken from the record itself (byte 4)
which does not include the size of the header. But, the full length
(header + data) is required by the sdr_add_entry() routine.
Signed-off-by: Cédric Le
->rec_length + 5, >sensor_owner_number);
Signed-off-by: Cédric Le Goater <c...@fr.ibm.com>
---
hw/ipmi/ipmi_bmc_sim.c | 61 +-
include/hw/ipmi/ipmi.h | 37 ++
2 files changed, 87 insertions(+), 11 deletions(-)
This is a simulator. Just return an unknown cause (0).
Signed-off-by: Cédric Le Goater <c...@fr.ibm.com>
---
hw/ipmi/ipmi_bmc_sim.c | 20 ++--
1 file changed, 18 insertions(+), 2 deletions(-)
diff --git a/hw/ipmi/ipmi_bmc_sim.c b/hw/ipmi/ipmi_bmc_sim.c
index 061db8
"Boot Count" sensor.
Signed-off-by: Cédric Le Goater <c...@fr.ibm.com>
---
hw/ipmi/ipmi_bmc_sim.c | 141 -
1 file changed, 140 insertions(+), 1 deletion(-)
diff --git a/hw/ipmi/ipmi_bmc_sim.c b/hw/ipmi/ipmi_bmc_sim.c
index c3a06d0ac7e
It will be used to fill the message buffer with custom events expected
by some systems. Typically, an Open PowerNV platform guest is notified
with an OEM SEL message before a shutdown or a reboot.
Signed-off-by: Cédric Le Goater <c...@fr.ibm.com>
---
hw/ipmi/ipmi_bmc_sim.
Signed-off-by: Cédric Le Goater <c...@fr.ibm.com>
---
hw/ipmi/ipmi_bmc_sim.c | 55 ++
1 file changed, 55 insertions(+)
diff --git a/hw/ipmi/ipmi_bmc_sim.c b/hw/ipmi/ipmi_bmc_sim.c
index 60586a67104e..c3a06d0ac7e4 100644
--- a/hw/ipmi/ipmi_bmc
This patch provides a simplistic FRU support for the IPMI BMC
simulator. The FRU area contains 32 entries * 256 bytes which should
be enough to start some simulation.
Signed-off-by: Cédric Le Goater <c...@fr.ibm.com>
---
hw/ipmi/ipmi_bmc_sim.c
/legoater/qemu/commits/ipmi
Thanks,
Cédric Le Goater (8):
ipmi: fix SDR length value
ipmi: add get and set SENSOR_TYPE commands
ipmi: add GET_SYS_RESTART_CAUSE chassis command
ipmi: add FRU support
ipmi: add ACPI power and GUID commands
ipmi: add SET_SENSOR_READING command (tentative try
On 01/06/2016 10:55 AM, Greg Kurz wrote:
> On Tue, 5 Jan 2016 18:29:56 +0100
> Cédric Le Goater <c...@fr.ibm.com> wrote:
>
>> Signed-off-by: Cédric Le Goater <c...@fr.ibm.com>
>> ---
>
> Acked-by: Greg Kurz <gk...@linux.vnet.ibm.com>
>
> Just
On 01/05/2016 08:59 PM, Eric Blake wrote:
> On 01/05/2016 10:29 AM, Cédric Le Goater wrote:
>
> [meta-comment] Your messages were not marked in-reply-to: the 0/8 cover
> letter, but came through as separate threads. This makes it harder to
> follow, especially in mail clients that
Hello Marcin,
On 12/16/2015 01:57 PM, marcin.krzemin...@nokia.com wrote:
> From: Marcin Krzeminski
>
> Signed-off-by: Marcin Krzeminski
> ---
> hw/block/m25p80.c | 31 ---
> 1 file changed, 28
On 11/28/2015 08:59 AM, Benjamin Herrenschmidt wrote:
> On Fri, 2015-11-27 at 11:21 +0100, Alexander Graf wrote:
>>
>> How does real hardware store petitboot? If it's flash, you could pass it
>> in using -pflash and thus model things even more closely and allow users
>> to just take the ROM image
On 11/24/2015 08:46 PM, Corey Minyard wrote:
> On 11/24/2015 07:31 AM, Cédric Le Goater wrote:
>> A few comments below,
>
> Thanks a bunch for the review. As you probably have guessed, this was
> not really intended as a fully functional BMC, though it has most of the
>
A few comments below,
On 11/12/2015 08:02 PM, miny...@acm.org wrote:
> From: Corey Minyard
>
> This provides a minimal local BMC, basically enough to comply with the
> spec and provide a complete watchdog timer (including a sensor, SDR,
> and event).
>
> Signed-off-by:
On 01/08/2016 09:23 PM, Corey Minyard wrote:
> Acked-by: Corey Minyard <cminy...@mvista.com>
>
> I agree with Greg's comments, too.
Me also. I will rework the code to use ARRAY_SIZE or something similar.
Thanks,
C.
> -corey
>
> On 01/05/2016 11:29 AM, Cédric Le Goa
Hello,
On 01/08/2016 08:41 PM, Corey Minyard wrote:
> On 01/05/2016 11:29 AM, Cédric Le Goater wrote:
>> This patch provides a simplistic FRU support for the IPMI BMC
>> simulator. The FRU area contains 32 entries * 256 bytes which should
>> be enough to start some simulat
On 01/08/2016 09:20 PM, Corey Minyard wrote:
> On 01/06/2016 02:14 AM, Cédric Le Goater wrote:
>> On 01/05/2016 08:59 PM, Eric Blake wrote:
>>> On 01/05/2016 10:29 AM, Cédric Le Goater wrote:
>>>
>>> [meta-comment] Your messages were not marked in-reply-to
On 01/08/2016 08:46 PM, Corey Minyard wrote:
> On 01/05/2016 11:29 AM, Cédric Le Goater wrote:
>> Signed-off-by: Cédric Le Goater <c...@fr.ibm.com>
>> ---
>> hw/ipmi/ipmi_bmc_sim.c | 55
>> ++
>> 1 file cha
, but if you
> need something more extensive we probably should think about something
> else.
>
> A few comments inline, too.
>
> On 01/05/2016 11:30 AM, Cédric Le Goater wrote:
>> This routine will let qemu platforms populate the sdr/sensor tables of
>> the IPMI
On 06/03/2016 05:47 PM, Mark Cave-Ayland wrote:
> On 03/06/16 15:14, Mark Cave-Ayland wrote:
>
>> On 03/06/16 15:06, Cedric Le Goater wrote:
>>
>>> On 06/03/2016 04:00 PM, Cédric Le Goater wrote:
>>>> Hello Mark,
>>>>
>>>> On 06/03
Hello Mark,
On 06/03/2016 03:52 PM, Mark Cave-Ayland wrote:
> On 03/06/16 13:11, Cédric Le Goater wrote:
>
>> This is follow up to complete the serie "ppc: preparing pnv landing
>> (round 2)" plus a little fix on instruction privileges.
>>
>> Test
h let us boot directly for the OpenBMC flash
images.
Acked-by: Cédric Le Goater <c...@kaod.org>
Thanks
C.
>> ---
>>
>> The change pulls out ptimer in favour of the regular timer infrastructure.
>> As a
>> consequence it implements the conversions between ticks and ti
On 06/06/2016 08:38 AM, Mark Cave-Ayland wrote:
> On 06/06/16 07:30, Cedric Le Goater wrote:
>
>> On 06/06/2016 08:27 AM, Cédric Le Goater wrote:
>>> On 06/06/2016 12:26 AM, Mark Cave-Ayland wrote:
>>>> On 05/06/16 18:41, Cédric Le Goater wrote:
>>>>
&
On 06/06/2016 12:23 PM, Benjamin Herrenschmidt wrote:
> This ports the existing 64-bit mechanism to 32-bit, thus series
> of 64 tlbie's followed by a sync like some versions of Darwin
> (ab)use will result in a single flush.
>
> We apply a pending flush on any sync instruction though, as Darwin
>
On 06/06/2016 06:17 AM, Benjamin Herrenschmidt wrote:
> On Sun, 2016-06-05 at 19:41 +0200, Cédric Le Goater wrote:
>>
>> Here is a fix I think. Could you give it a try ?
>
> This is somewhat wrong...
>
>> commit cd0c6f473532 ('ppc: Do some batching of T
blow the whole tlb when tlbie
> is executed.
>
> Signed-off-by: Benjamin Herrenschmidt <b...@kernel.crashing.org>
Looks good on G3 and G4 running macosx10.2 and macosx10.4.
Tested-by: Cédric Le Goater <c...@kaod.org>
> ---
> target-ppc/mmu_helper.c | 8
>
igned-off-by: Benjamin Herrenschmidt <b...@kernel.crashing.org>
Looks good on G3 and G4 running macosx10.2 and macosx10.4.
Tested-by: Cédric Le Goater <c...@kaod.org>
> ---
> target-ppc/helper_regs.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/t
On 03/15/2016 03:30 PM, Michael S. Tsirkin wrote:
> On Thu, Mar 10, 2016 at 03:04:03PM +0100, Cédric Le Goater wrote:
>> This patch provides a simple FRU support for the BMC simulator. FRUs
>> are loaded from a file which name is specified in the object
>> properties, each
On 06/06/2016 05:05 PM, Peter Maydell wrote:
> On 31 May 2016 at 15:18, Cédric Le Goater <c...@kaod.org> wrote:
>> The Aspeed AST2400 integrates a set of 14 I2C/SMBus bus controllers
>> directly connected to the APB bus. They can be programmed as master or
>> slave b
Hello,
Here is a new set bringing more changes required for the powernv
platform. The major one is the rework of the exception model to
support the HV mode.
It was tested with a pseries guest, KVM and TCG, and with a mac99
guest !
The next serie will cover a rework of XICS to support native
From: Benjamin Herrenschmidt
This reworks emulation of the various "rfi" variants. I removed
some masking bits that I couldn't make sense of, the only bit that
I am aware we should mask here is POW, the CPU's MSR mask should
take care of the rest.
This also fixes some
Signed-off-by: Benjamin Herrenschmidt <b...@kernel.crashing.org>
Reviewed-by: David Gibson <da...@gibson.dropbear.id.au>
[clg: previous commit 26a7f1291bb5 did not include the LPCR setting as
it was not needed at the time ]
Signed-off-by: Cédric Le Goater <c...@kaod
From: Benjamin Herrenschmidt
Under some circumstances, we need to direct ISI and DSI interrupts
at the hypervisor, turning them into HISI/HDSI, and using different
SPRs (HDSISR and HDAR) depending on the combination of MSR_DR and
the corresponding VPM bits in LPCR.
chmidt <b...@kernel.crashing.org>
[clg: fixed checkpatch.pl errors ]
Signed-off-by: Cédric Le Goater <c...@kaod.org>
---
linux-user/main.c| 1 +
target-ppc/excp_helper.c | 19 ++
target-ppc/translate.c | 690 ---
3 files chang
From: Benjamin Herrenschmidt <b...@kernel.crashing.org>
Properly implement LPES0/1 handling for HV vs. !HV mode.
Signed-off-by: Benjamin Herrenschmidt <b...@kernel.crashing.org>
[clg: AIL implementation was fixed in commit 5c94b2a5e5ef
fixed checkpatch.pl errors ]
Signed-off-b
]
Signed-off-by: Cédric Le Goater <c...@kaod.org>
---
This patch still has a couple of checkpatch issues which I did not
know quite understand:
ERROR: Macros with complex values should be enclosed in parenthesis
#176: FILE: target-ppc/translate.c:10238:
+#define GEN_LDX_E(name, ldop, opc2, opc3
From: Benjamin Herrenschmidt <b...@kernel.crashing.org>
We were initializing unused ones and missing some
Signed-off-by: Benjamin Herrenschmidt <b...@kernel.crashing.org>
Reviewed-by: David Gibson <da...@gibson.dropbear.id.au>
[clg: fixed checkpatch.pl errors ]
Signed-off-by: C
From: Benjamin Herrenschmidt
Signed-off-by: Benjamin Herrenschmidt
Reviewed-by: David Gibson
---
target-ppc/translate.c | 37 ++---
1 file changed, 18 insertions(+), 19
From: Benjamin Herrenschmidt
There's no point inlining this, if you hit the exception case you exit
anyway, and not inlining saves about 100K of code size (and cache
footprint).
Signed-off-by: Benjamin Herrenschmidt
---
ch.pl errors ]
Signed-off-by: Cédric Le Goater <c...@kaod.org>
---
target-ppc/cpu-qom.h| 9 +
target-ppc/cpu.h| 17 -
target-ppc/excp_helper.c| 59 +
target-ppc/helper.h | 1 +
target-ppc/tra
ned also when PR=1 and conditions are
fixed accordingly.
stripped unwanted tabs.]
Signed-off-by: Cédric Le Goater <c...@kaod.org>
---
target-ppc/cpu.h| 4
target-ppc/translate.c | 4 +++-
target-ppc/translate_init.c | 19 +++
3 files chan
figure out if processor has HV mode
Cédric Le Goater (1):
ppc: fix hrfid, tlbia and slbia privilege
target-ppc/cpu.h| 4
target-ppc/excp_helper.c| 8 ++--
target-ppc/helper_regs.h| 4 ++--
target-ppc/translate.c | 10 ++
target-ppc/translate_i
From: Benjamin Herrenschmidt
This helper is only used by the various instructions that can alter
MSR and not interrupts. Add a comment to that effect to the interrupt
code as well in case somebody wants to change this
Signed-off-by: Benjamin Herrenschmidt
commit 74693da98894 ('ppc: tlbie, tlbia and tlbisync are HV only')
introduced some extra checks on the instruction privilege. slbia was
changed wrongly and hrfid, tlbia were forgotten.
Signed-off-by: Cédric Le Goater <c...@kaod.org>
---
target-ppc/translate.c | 6 +++---
1 file chan
On 05/28/2016 11:52 AM, David Gibson wrote:
> On Fri, May 27, 2016 at 09:56:32AM +0200, Cédric Le Goater wrote:
>> On 05/27/2016 05:38 AM, David Gibson wrote:
>>> On Tue, May 03, 2016 at 06:03:29PM +0200, Cédric Le Goater wrote:
>>>> From: Benjamin Herrensch
On 06/13/2016 09:44 AM, Thomas Huth wrote:
> On 13.06.2016 07:24, Cédric Le Goater wrote:
>> From: Benjamin Herrenschmidt <b...@kernel.crashing.org>
>>
>> There's no point inlining this, if you hit the exception case you exit
>> anyway, and not inlining saves a
On 06/13/2016 06:47 PM, Eric Blake wrote:
> On 06/13/2016 10:25 AM, Cédric Le Goater wrote:
>
>>
>> It seems that commit 243e6f69c129 ("m25p80: Switch to byte-based block
>> access")
>> is bringing another issue :
>>
>> qemu-system-arm:
&
in m25p80.c, now writes with a len of
0x100, which the page size in flash modules. commit 243e6f69c129
("m25p80: Switch to byte-based block access") removed the alignment on
BDRV_SECTOR_SIZE.
So I think the safest is to restore the alignment on writes. see below.
If this is ok, I will send a
On 06/14/2016 08:34 AM, David Gibson wrote:
> On Mon, Jun 13, 2016 at 07:24:51AM +0200, Cédric Le Goater wrote:
>> From: Benjamin Herrenschmidt <b...@kernel.crashing.org>
>>
>> Under some circumstances, we need to direct ISI and DSI interrupts
>> at the hyperv
On 06/14/2016 08:15 AM, David Gibson wrote:
> On Mon, Jun 13, 2016 at 07:24:48AM +0200, Cédric Le Goater wrote:
>> From: Benjamin Herrenschmidt <b...@kernel.crashing.org>
>>
>> And move the code adjusting the MSR mask and calling kvmppc_set_papr()
>> to it. This a
On 06/14/2016 10:38 AM, Kevin Wolf wrote:
> Am 14.06.2016 um 10:02 hat Cédric Le Goater geschrieben:
>>>> #4 0x7fa81c6694ac in bdrv_aligned_pwritev (bs=0x7fa81d4dd050,
>>>> req=, offset=30878208,
>>>> bytes=512, qiov=0x7fa7f47fee60, flags=0)
&g
This enables qemu to handle late inits and report errors. All the SSI
slave routine names were changed accordingly. Code was modified to
handle errors when possible (m25p80)
Tested with the m25p80 slave object.
Suggested-by: Paolo Bonzini <pbonz...@redhat.com>
Signed-off-by: Cédric Le Goa
On 06/15/2016 03:41 PM, marcin.krzemin...@nokia.com wrote:
> From: Marcin Krzeminski
>
> Instead of always reading and comparing jededc ID,
> replace it by function.
>
> Signed-off-by: Marcin Krzeminski
Looks good to me. Some minor
On 06/15/2016 04:07 PM, Peter Maydell wrote:
> On 15 June 2016 at 15:00, Cédric Le Goater <c...@kaod.org> wrote:
>> We also need to realize() the SSISlave part of the object. This is why
>> the previous realize() ops is stored in M25P80Class and called in the
&g
-by: Cédric Le Goater <c...@kaod.org>
---
Should apply on top of :
m25p80: fix test on blk_pread() return value
https://lists.gnu.org/archive/html/qemu-devel/2016-05/msg05574.html
Changes since v2 :
- Added a FIXME comment removed in v1
hw/block/m25p80.c
Hello Eric,
On 06/13/2016 06:47 PM, Eric Blake wrote:
> On 06/13/2016 10:25 AM, Cédric Le Goater wrote:
>
>>
>> It seems that commit 243e6f69c129 ("m25p80: Switch to byte-based block
>> access")
>> is bringing another issue :
>>
>> qemu-s
Hello Eric,
On 05/31/2016 04:36 PM, Eric Blake wrote:
> On 05/31/2016 08:29 AM, Cédric Le Goater wrote:
>> On 05/31/2016 04:26 PM, Eric Blake wrote:
>>> On 05/31/2016 05:36 AM, Cédric Le Goater wrote:
>>>> commit 243e6f69c129 ("m25p80: Switch to byte-based bl
Hello Mark,
On 06/03/2016 03:52 PM, Mark Cave-Ayland wrote:
> On 03/06/16 13:11, Cédric Le Goater wrote:
>
>> This is follow up to complete the serie "ppc: preparing pnv landing
>> (round 2)" plus a little fix on instruction privileges.
>>
>> Test
On 06/06/2016 12:26 AM, Mark Cave-Ayland wrote:
> On 05/06/16 18:41, Cédric Le Goater wrote:
>
>> Hello Mark,
>>
>> On 06/03/2016 03:52 PM, Mark Cave-Ayland wrote:
>>> On 03/06/16 13:11, Cédric Le Goater wrote:
>>>
>>>> This is follo
On 05/27/2016 06:41 AM, Thomas Huth wrote:
> On 27.05.2016 05:38, David Gibson wrote:
>> On Tue, May 03, 2016 at 06:03:29PM +0200, Cédric Le Goater wrote:
>>> From: Benjamin Herrenschmidt <b...@kernel.crashing.org>
>>>
>>> We use an env. flag wh
io and bi-endian guests.
>
> Signed-off-by: Greg Kurz <gk...@linux.vnet.ibm.com>
biendian-ness being only used by virtio devices, I think this is a good place
where to put it.
Acked-by: Cédric Le Goater <c...@kaod.org>
> ---
> hw/virtio/vhost.c
On 06/02/2016 09:45 AM, Mark Cave-Ayland wrote:
> On 02/06/16 08:37, Cédric Le Goater wrote:
>> On 06/02/2016 05:17 AM, David Gibson wrote:
>>> On Wed, Jun 01, 2016 at 08:03:08AM +0100, Mark Cave-Ayland wrote:
>>>> On 01/06/16 03:15, David Gibson wrote:
>>&g
On 06/02/2016 05:17 AM, David Gibson wrote:
> On Wed, Jun 01, 2016 at 08:03:08AM +0100, Mark Cave-Ayland wrote:
>> On 01/06/16 03:15, David Gibson wrote:
>>
>>> On Tue, May 31, 2016 at 11:28:49PM +0100, Mark Cave-Ayland wrote:
On 31/05/16 01:41, David Gibson wrote:
> From: Benjamin
On 06/02/2016 08:09 PM, Mark Cave-Ayland wrote:
> On 02/06/16 09:47, Mark Cave-Ayland wrote:
>
>> On 02/06/16 09:23, Cédric Le Goater wrote:
>>
>>> On 06/02/2016 09:45 AM, Mark Cave-Ayland wrote:
>>>> On 02/06/16 08:37, Cédric Le Goater wrote:
>>&
On 05/27/2016 05:38 AM, David Gibson wrote:
> On Tue, May 03, 2016 at 06:03:29PM +0200, Cédric Le Goater wrote:
>> From: Benjamin Herrenschmidt <b...@kernel.crashing.org>
>>
>> We use an env. flag which is set to the initial value of MSR_HVB in
>> the msr_mas
commit 243e6f69c129 ("m25p80: Switch to byte-based block access")
replaced blk_read() calls with blk_pread() but return values are
different.
Signed-off-by: Cédric Le Goater <c...@kaod.org>
---
hw/block/m25p80.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Ind
).
Signed-off-by: Cédric Le Goater <c...@kaod.org>
Reviewed-by: Andrew Jeffery <and...@aj.id.au>
---
Changes since v1 :
- rebased on mainline qemu
- added include "qemu/log.h" to fix compile breakage
hw/arm/ast2400.c| 16 +
hw/i2c/Makefile.objs|1
On 05/31/2016 04:26 PM, Eric Blake wrote:
> On 05/31/2016 05:36 AM, Cédric Le Goater wrote:
>> commit 243e6f69c129 ("m25p80: Switch to byte-based block access")
>> replaced blk_read() calls with blk_pread() but return values are
>> different.
>
> Shoot,
On 06/15/2016 09:57 AM, Kevin Wolf wrote:
> Am 14.06.2016 um 18:02 hat Cédric Le Goater geschrieben:
>> On 06/14/2016 10:38 AM, Kevin Wolf wrote:
>>> Am 14.06.2016 um 10:02 hat Cédric Le Goater geschrieben:
>>>>>> #4 0x7fa81c6694ac in bdrv_aligned_pwr
-by: Cédric Le Goater <c...@kaod.org>
---
Should apply on top of :
m25p80: fix test on blk_pread() return value
https://lists.gnu.org/archive/html/qemu-devel/2016-05/msg05574.html
hw/block/m25p80.c | 24 +---
1 file changed, 17 insertions(+), 7 deletions(-)
diff
On 06/15/2016 03:41 PM, marcin.krzemin...@nokia.com wrote:
> From: Marcin Krzeminski
>
> Quad and Equad modes for Spansion and Macronix flash devices.
> This commit also includes modification and new command to manipulate
> quad mode (status registers and dedicated
On 06/15/2016 04:20 PM, Paolo Bonzini wrote:
>
>
> On 15/06/2016 16:00, Cédric Le Goater wrote:
>> We also need to realize() the SSISlave part of the object. This is why
>> the previous realize() ops is stored in M25P80Class and called in the
>> object realize
On 06/22/2016 04:46 AM, David Gibson wrote:
> I'm not comfortable merging this until the openbios change is pulled
> back into the qemu tree (submodule and pre-built binary).
>
> Again - sure you don't want to apply this with rfi still enabled for
> 64-bit for now, letting the rest of this series
/lastSuccessfulBuild/artifact/images/palmetto.pnor
Thanks,
Cédric Le Goater (4):
ast2400: add SMC controllers (FMC and SPI)
ast2400: add SPI flash slave object
ast2400: create SPI flash slaves
tests: add a m25p80 test
hw/arm/ast2400.c| 31 +++
hw/arm/palmetto-bmc.c | 3
-by: Cédric Le Goater <c...@kaod.org>
---
hw/arm/ast2400.c| 31 +
hw/ssi/Makefile.objs| 1 +
hw/ssi/aspeed_smc.c | 300
include/hw/arm/ast2400.h| 3 +
include/hw/ssi/aspeed_smc.h | 79
5 files c
he defaults
provided by the specs. They can be changed with the Segment Address
Register but this is not supported in the current implementation.
Signed-off-by: Cédric Le Goater <c...@kaod.org>
---
hw/arm/palmetto-bmc.c | 3 +++
hw/ssi
is sufficient to support Linux which only uses
User Mode.
Signed-off-by: Cédric Le Goater <c...@kaod.org>
---
Is that the right approach or should we just use simple structs under
AspeedSMCState and attach the memory region to the Aspeed SMC
controller SysBus object ? Please advise.
This test uses the palmetto platform and the AST2400 SPI controller to
test the m25p80 flash module device model. The flash model is defined
by the platform (n25q256a) and it would be nice to find way to control
it, using a property probably.
Signed-off-by: Cédric Le Goater <c...@kaod.
On 06/15/2016 07:40 PM, Krzeminski, Marcin (Nokia - PL/Wroclaw) wrote:
>
>
> W dniu 15.06.2016 o 16:25, Cédric Le Goater pisze:
>> On 06/15/2016 03:41 PM, marcin.krzemin...@nokia.com wrote:
>>> From: Marcin Krzeminski <marcin.krzemin...@nokia.com>
>>>
On 06/17/2016 02:32 PM, Paolo Bonzini wrote:
>
>
> On 17/06/2016 14:15, Cédric Le Goater wrote:
>> From: Paolo Bonzini <pbonz...@redhat.com>
>>
>> This allows specifying the property via -drive if=none and creating
>> the flash device with -device.
&g
gisters and dedicated commands).
> This work is based on Pawel Lenkow work.
>
> Signed-off-by: Marcin Krzeminski <marcin.krzemin...@nokia.com>
Reviewed-by: Cédric Le Goater <c...@kaod.org>
Thanks,
C.
> ---
> hw/block/m25p80.c | 70
> ++
nd decoding to functions.
>
> Signed-off-by: Marcin Krzeminski <marcin.krzemin...@nokia.com>
Reviewed-by: Cédric Le Goater <c...@kaod.org>
Thanks, it looks better.
C.
> ---
> hw/block/m25p80.c | 145
> --
On 06/17/2016 08:28 AM, David Gibson wrote:
> On Fri, Jun 17, 2016 at 08:03:29AM +0200, Cédric Le Goater wrote:
>> On 06/17/2016 07:54 AM, Cédric Le Goater wrote:
>>> On 06/17/2016 04:27 AM, David Gibson wrote:
>>>> On Thu, Jun 16, 2016 at 11:07:02AM +1000, David Gibs
On 06/17/2016 09:10 AM, Thomas Huth wrote:
> On 17.06.2016 08:03, Cédric Le Goater wrote:
>> On 06/17/2016 07:54 AM, Cédric Le Goater wrote:
>>> On 06/17/2016 04:27 AM, David Gibson wrote:
>>>> On Thu, Jun 16, 2016 at 11:07:02AM +1000, David Gibson wrote:
>>&g
On 06/17/2016 12:11 PM, Paolo Bonzini wrote:
>
>
> On 17/06/2016 10:35, Cédric Le Goater wrote:
>> A set of SPI flash slaves is attached under the flash controllers of
>> the palmetto platform. "n25q256a" flash modules are used for the BMC
>> and &q
On 06/20/2016 05:38 PM, Peter Maydell wrote:
> On 17 June 2016 at 13:15, Cédric Le Goater <c...@kaod.org> wrote:
>> A set of SPI flash slaves is attached under the flash controllers of
>> the palmetto platform. "n25q256a" flash modules are used for the BMC
&g
shing.org>
Reviewed-by: David Gibson <da...@gibson.dropbear.id.au>
[clg: updated the commit log with the reference of the openbios fix ]
Signed-off-by: Cédric Le Goater <c...@kaod.org>
---
target-ppc/excp_helper.c | 51 +++-
target-ppc/translate.
Hello,
Here is a new set bringing more changes required for the powernv
platform. The major one is the rework of the exception model to
support the HV mode.
It was tested with a pseries guest, KVM and TCG, and with a mac99
guest !
The next serie will cover a rework of XICS to support native
]
Signed-off-by: Cédric Le Goater <c...@kaod.org>
Reviewed-by: David Gibson <da...@gibson.dropbear.id.au>
---
target-ppc/cpu.h| 4 ++-
target-ppc/translate.c | 59 -
target-ppc/translate_init.c | 6 +++--
3 files chang
njamin Herrenschmidt <b...@kernel.crashing.org>
Reviewed-by: David Gibson <da...@gibson.dropbear.id.au>
[clg: Merged a fix on POWERPC_EXCP_HDSI fixing the condition on
msr_hv, from Andrei Warkentin <andrey.warken...@gmail.com> ]
Signed-off-by: Cédric Le Goater <c...@kaod.org>
1 - 100 of 9409 matches
Mail list logo