openbmc.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* A question about submitting patches
@ 2018-08-10 22:47 Tao Ren
  2018-08-11  2:04 ` Andrew Jeffery
  0 siblings, 1 reply; 2+ messages in thread
From: Tao Ren @ 2018-08-10 22:47 UTC (permalink / raw)
  To: OpenBMC Maillist; +Cc: Tao Ren

[-- Attachment #1: Type: text/plain, Size: 299 bytes --]

Hi,

I’m preparing a few patches (aspeed driver fixes) for review. I’ve verified the patches on ast2400 and ast2500 physical hardware, and do I need to test the patches again on qemu (required in “openbmc/linux/wiki/SubmittingPatches” page) before sending out review?


Thanks,

Tao

[-- Attachment #2: Type: text/html, Size: 2759 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: A question about submitting patches
  2018-08-10 22:47 A question about submitting patches Tao Ren
@ 2018-08-11  2:04 ` Andrew Jeffery
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Jeffery @ 2018-08-11  2:04 UTC (permalink / raw)
  To: openbmc

On Sat, 11 Aug 2018, at 08:17, Tao Ren wrote:
> Hi,
> 
> I’m preparing a few patches (aspeed driver fixes) for review. I’ve 
> verified the patches on ast2400 and ast2500 physical hardware, and do I 
> need to test the patches again on qemu (required in “openbmc/linux/wiki/
> SubmittingPatches” page) before sending out review?

Please do test in qemu. Qemu is used by the CI infrastructure to smoke test the build before applying it to hardware. You shouldn't limit your drivers to what's supported by qemu, but you should understand before you send out the patches whether there might be some spurious failures. For instance some releases of the ASPEED SDK spin on initialisation bits that aren't properly modelled by qemu, and hang as a result. We should fix qemu in these instances, but again it's good to know before you send whether the patches will cause it issues.

There's some relatively straight forward documentation on how to use qemu in the docs repo, so it shouldn't be much of an effort to set up. Certainly Joel and I test our u-boot and kernel changes with it and find it very useful for rapid feedback.

Cheers,

Andrew

> 
> 
> Thanks,
> 
> Tao

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-08-11  2:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-10 22:47 A question about submitting patches Tao Ren
2018-08-11  2:04 ` Andrew Jeffery

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).