qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: FelixCui-oc <FelixCui-oc@zhaoxin.com>
To: Paolo Bonzini <pbonzini@redhat.com>,
	Alex Williamson <alex.williamson@redhat.com>
Cc: CobeChen-oc <CobeChen-oc@zhaoxin.com>,
	"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>,
	Tony W Wang-oc <TonyWWang-oc@zhaoxin.com>,
	RockCui-oc <RockCui-oc@zhaoxin.com>,
	Richard Henderson <rth@twiddle.net>,
	Eduardo Habkost <ehabkost@redhat.com>
Subject: 答复: 答复: [PATCH 1/1] Skip flatview_simplify() for cpu vendor zhaoxin
Date: Tue, 27 Oct 2020 03:18:06 +0000	[thread overview]
Message-ID: <ff715cb194d24e44b3a4de1c96faafe8@zhaoxin.com> (raw)
In-Reply-To: <2b934315e08b4725b60c62602189d59a@zhaoxin.com>

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

hi paolo,

>So removing flatview_simplify() works because the higher area (0x10000
>and above) remains the same.  I guess the simplest thing to do is to
>apply flatview_simplify() only to I/O areas, though we can also consider
>removing it completely.  I'm not sure in which case it would provide a
>noticeable improvement.

Which one do you think is better? I prefer to remove flatview_simplify() directly.
Please help give some suggestions , and then i will resubmit the patch.

Best regards
FelixCui-oc


________________________________
发件人: FelixCui-oc
发送时间: 2020年10月22日 14:31:26
收件人: Paolo Bonzini; Alex Williamson
抄送: Richard Henderson; Eduardo Habkost; qemu-devel@nongnu.org; RockCui-oc; Tony W Wang-oc; CobeChen-oc
主题: 答复: 答复: [PATCH 1/1] Skip flatview_simplify() for cpu vendor zhaoxin


hi paolo,


>So removing flatview_simplify() works because the higher area (0x10000

>and above) remains the same.  I guess the simplest thing to do is to
>apply flatview_simplify() only to I/O areas, though we can also consider
>removing it completely.  I'm not sure in which case it would provide a
>noticeable improvement.


I agree with you very much. Both of these cases can solve this bug.

Thanks.


Best regards

Felixcui-oc

________________________________
发件人: Paolo Bonzini <pbonzini@redhat.com>
发送时间: 2020年10月22日 11:30:37
收件人: FelixCui-oc; Alex Williamson
抄送: Richard Henderson; Eduardo Habkost; qemu-devel@nongnu.org; RockCui-oc; Tony W Wang-oc; CobeChen-oc
主题: Re: 答复: [PATCH 1/1] Skip flatview_simplify() for cpu vendor zhaoxin

On 22/10/20 05:02, FelixCui-oc wrote:
> In addition, before write pam registers, flatview_simplify() has merged
> a very large range.For example,
>
> this large range is 0xc0000-0xbfffffff. So even if EHCI is configured to
> not allocate buffers in low memory,
>
> this bug will still occur.Thanks.

So removing flatview_simplify() works because the higher area (0x10000
and above) remains the same.  I guess the simplest thing to do is to
apply flatview_simplify() only to I/O areas, though we can also consider
removing it completely.  I'm not sure in which case it would provide a
noticeable improvement.

Paolo


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

      reply	other threads:[~2020-10-27  3:25 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-16 11:29 [PATCH 0/1] Skip flatview_simplify() for cpu vendor zhaoxin FelixCuioc
2020-10-16 11:29 ` [PATCH 1/1] " FelixCuioc
2020-10-16 11:42   ` Paolo Bonzini
2020-10-19  6:55     ` 答复: " FelixCui-oc
2020-10-19 19:02     ` Alex Williamson
2020-10-20  9:24       ` Paolo Bonzini
2020-10-20 22:44         ` Alex Williamson
2020-10-21  7:37           ` Paolo Bonzini
2020-10-21 13:16             ` 答复: " FelixCui-oc
2020-10-21 18:49             ` Alex Williamson
2020-10-21 19:50               ` Paolo Bonzini
2020-10-22  3:02                 ` 答复: " FelixCui-oc
2020-10-22  3:30                   ` Paolo Bonzini
2020-10-22  6:31                     ` 答复: " FelixCui-oc
2020-10-27  3:18                       ` FelixCui-oc [this message]

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=ff715cb194d24e44b3a4de1c96faafe8@zhaoxin.com \
    --to=felixcui-oc@zhaoxin.com \
    --cc=CobeChen-oc@zhaoxin.com \
    --cc=RockCui-oc@zhaoxin.com \
    --cc=TonyWWang-oc@zhaoxin.com \
    --cc=alex.williamson@redhat.com \
    --cc=ehabkost@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=rth@twiddle.net \
    /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).