qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Richard Henderson <richard.henderson@linaro.org>
To: "Philippe Mathieu-Daudé" <philmd@linaro.org>, qemu-devel@nongnu.org
Cc: dbarboza@ventanamicro.com
Subject: Re: [PATCH] accel/tcg: Add 'size' param to probe_access_full
Date: Thu, 23 Feb 2023 22:09:17 -1000	[thread overview]
Message-ID: <fbc63971-34fd-633e-d9e0-0e906328f47e@linaro.org> (raw)
In-Reply-To: <6517a169-07b0-6ee2-1492-95d6d5c82ecc@linaro.org>

On 2/23/23 20:57, Philippe Mathieu-Daudé wrote:
> On 24/2/23 01:45, Richard Henderson wrote:
>> Change to match the recent change to probe_access_flags.
>> All existing callers updated to supply 0, so no change in behaviour.
>>
>> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
>> ---
>>   include/exec/exec-all.h              | 2 +-
>>   accel/tcg/cputlb.c                   | 4 ++--
>>   target/arm/mte_helper.c              | 4 ++--
>>   target/arm/ptw.c                     | 2 +-
>>   target/arm/sve_helper.c              | 2 +-
>>   target/arm/translate-a64.c           | 2 +-
>>   target/i386/tcg/sysemu/excp_helper.c | 4 ++--
>>   7 files changed, 10 insertions(+), 10 deletions(-)
>>
>> diff --git a/include/exec/exec-all.h b/include/exec/exec-all.h
>> index 165b050872..b631832e17 100644
>> --- a/include/exec/exec-all.h
>> +++ b/include/exec/exec-all.h
>> @@ -475,7 +475,7 @@ int probe_access_flags(CPUArchState *env, target_ulong addr, int size,
>>    * and must be consumed or copied immediately, before any further
>>    * access or changes to TLB @mmu_idx.
>>    */
>> -int probe_access_full(CPUArchState *env, target_ulong addr,
>> +int probe_access_full(CPUArchState *env, target_ulong addr, int size,
>>                         MMUAccessType access_type, int mmu_idx,
>>                         bool nonfault, void **phost,
>>                         CPUTLBEntryFull **pfull, uintptr_t retaddr);
> 
> Why is 'size' signed? (similar in probe_access_flags).

Not sure.  But all of the other interfaces exposed are signed too.


r~



  reply	other threads:[~2023-02-24  8:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-24  0:45 [PATCH] accel/tcg: Add 'size' param to probe_access_full Richard Henderson
2023-02-24  6:57 ` Philippe Mathieu-Daudé
2023-02-24  8:09   ` Richard Henderson [this message]
2023-02-24  9:27 ` Daniel Henrique Barboza

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=fbc63971-34fd-633e-d9e0-0e906328f47e@linaro.org \
    --to=richard.henderson@linaro.org \
    --cc=dbarboza@ventanamicro.com \
    --cc=philmd@linaro.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).