From: "Cédric Le Goater" <clg@kaod.org>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: "Andrew Jeffery" <andrew@aj.id.au>,
"Philippe Mathieu-Daudé" <f4bug@amsat.org>,
qemu-arm <qemu-arm@nongnu.org>,
"QEMU Developers" <qemu-devel@nongnu.org>,
"Joel Stanley" <joel@jms.id.au>
Subject: Re: [Qemu-arm] [PATCH v2 1/6] aspeed: add support for the witherspoon-bmc board
Date: Tue, 10 Oct 2017 17:38:31 +0200 [thread overview]
Message-ID: <cf00417c-86a6-cf7c-eea7-b1b46d9b2cc1@kaod.org> (raw)
In-Reply-To: <CAFEAcA-tZG-mVMk-kfxZz3oKOSBr9QDpwJWc_CSvqc7An8NNbg@mail.gmail.com>
On 10/10/2017 03:24 PM, Peter Maydell wrote:
> On 10 October 2017 at 14:21, Cédric Le Goater <clg@kaod.org> wrote:
>> On 10/10/2017 11:54 AM, Peter Maydell wrote:
>>> The goal is to model hardware correctly. Hardware gives
>>> aborts if you touch a physical address with no device there,
>>> and so QEMU's model should do the same. If you have guest
>>> code that touches a physical address and blows up because
>>> of an abort (but doesn't when run on h/w) then either:
>>> * it is trying to probe a device that exists in real h/w:
>>> you need to provide a stub implementation in QEMU
>>> * the SoC's bus fabric really doesn't pass aborts back
>>> to the CPU; I think this is unlikely, but you can model
>>> it at the SoC level with a suitable default memory region
>>
>> well, that is case it seems.
>
> If it is, then we should model the SoC that way, ie find
> out from the hardware docs what part of the bus fabric
> ignores decode errors and use memory regions with the
> right default behaviour to cover the relevant address
> ranges.
The addresses generating memory fault errors are all in
the region where the BMC SPI Flash Memory is mapped :
[ 20000000-2FFFFFFF ]
but we should not be doing any writes there. I will make
some inquiries.
Thanks,
C.
next prev parent reply other threads:[~2017-10-10 15:39 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-20 7:01 [Qemu-arm] [PATCH v2 0/6] aspeed: add a witherspoon-bmc machine Cédric Le Goater
2017-09-20 7:01 ` [Qemu-arm] [PATCH v2 1/6] aspeed: add support for the witherspoon-bmc board Cédric Le Goater
2017-10-06 15:10 ` [Qemu-devel] " Peter Maydell
2017-10-07 16:42 ` Cédric Le Goater
2017-10-10 9:19 ` [Qemu-arm] " Cédric Le Goater
2017-10-10 9:54 ` [Qemu-devel] " Peter Maydell
2017-10-10 13:21 ` [Qemu-arm] " Cédric Le Goater
2017-10-10 13:24 ` Peter Maydell
2017-10-10 15:38 ` Cédric Le Goater [this message]
2017-10-10 15:45 ` Peter Maydell
2017-10-10 15:54 ` Cédric Le Goater
2017-10-09 0:04 ` Andrew Jeffery
2017-10-10 13:30 ` Cédric Le Goater
2017-10-10 13:32 ` [Qemu-devel] " Peter Maydell
2017-10-11 3:49 ` [Qemu-arm] " Andrew Jeffery
2017-10-11 7:28 ` Cédric Le Goater
2017-10-16 1:55 ` Andrew Jeffery
2017-09-20 7:01 ` [Qemu-arm] [PATCH v2 2/6] aspeed: add an I2C RTC device to all machines Cédric Le Goater
2017-10-09 0:28 ` Andrew Jeffery
2017-09-20 7:01 ` [Qemu-devel] [PATCH v2 3/6] smbus: add a smbus_eeprom_init_one() routine Cédric Le Goater
2017-10-08 21:35 ` [Qemu-arm] " Philippe Mathieu-Daudé
2017-09-20 7:01 ` [Qemu-arm] [PATCH v2 4/6] aspeed: Add EEPROM I2C devices Cédric Le Goater
2017-10-09 0:45 ` Andrew Jeffery
2017-09-20 7:01 ` [Qemu-devel] [PATCH v2 5/6] misc: add pca9552 LED blinker model Cédric Le Goater
2017-10-06 15:12 ` [Qemu-arm] " Peter Maydell
2017-10-07 16:41 ` Cédric Le Goater
2017-09-20 7:01 ` [Qemu-devel] [PATCH v2 6/6] aspeed: add the pc9552 chips to the witherspoon machine Cédric Le Goater
2017-10-09 0:47 ` [Qemu-arm] " Andrew Jeffery
2017-10-06 15:13 ` [Qemu-arm] [PATCH v2 0/6] aspeed: add a witherspoon-bmc machine Peter Maydell
2017-10-07 16:44 ` Cédric Le Goater
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cf00417c-86a6-cf7c-eea7-b1b46d9b2cc1@kaod.org \
--to=clg@kaod.org \
--cc=andrew@aj.id.au \
--cc=f4bug@amsat.org \
--cc=joel@jms.id.au \
--cc=peter.maydell@linaro.org \
--cc=qemu-arm@nongnu.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).