linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Mauricio Faria de Oliveira <mauricfo@linux.vnet.ibm.com>
To: Michael Ellerman <mpe@ellerman.id.au>
Cc: "Michal Suchánek" <msuchanek@suse.de>, linuxppc-dev@lists.ozlabs.org
Subject: Re: [PATCH 2/3] rfi-flush: Make it possible to call setup_rfi_flush() again
Date: Tue, 13 Mar 2018 09:14:39 -0300	[thread overview]
Message-ID: <c7cadceb-1957-046e-8934-592baccca5b7@linux.vnet.ibm.com> (raw)
In-Reply-To: <876060gq5s.fsf@concordia.ellerman.id.au>

Hi Michael,

On 03/13/2018 08:39 AM, Michael Ellerman wrote:
>> I agree; the 'Using fallback displacement flush' message is misleading
>> (is the system slower/fallback or not? Ô_o)

> That message is actually just wrong.
> 
> It still prints that even if enable=false.
> 
> So we should change all those messages, perhaps:
> 
> 	pr_info("rfi-flush: fallback displacement flush available\n");
> 	pr_info("rfi-flush: ori type flush available\n");
> 	pr_info("rfi-flush: mttrig type flush available\n");

Indeed.

>> So I wrote something with a new function parameter to force the init of
>> the fallback flush area (true in pseries, false in powernv).  Not that
>> contained, but it seemed to convey the intent here in a clear way.
>>
>> That's v2, just sent.

> OK thanks. I don't really like it :D - sorry!

No worries :) fair enough. Well, I didn't like it much, either, TBH.

> It's a lot of plumbing of that bool just to avoid the message, whereas I
> think we could just change the message like above.

Yup.

And what you think about a more descriptive confirmation of what flush
instructions/methods are _actually_ being used?

Currently and w/ your suggestion aobve, all that is known is what is
_available_, not what has gone in (or out, in the disable case) the
nop slots.

cheers,
mauricio

  reply	other threads:[~2018-03-13 12:14 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-14 21:33 [PATCH 0/3] Setup RFI flush after PowerVM LPM migration Mauricio Faria de Oliveira
2018-02-14 21:33 ` [PATCH 1/3] rfi-flush: Move the logic to avoid a redo into the debugfs code Mauricio Faria de Oliveira
2018-02-14 21:33 ` [PATCH 2/3] rfi-flush: Make it possible to call setup_rfi_flush() again Mauricio Faria de Oliveira
2018-02-15  7:13   ` Michal Suchánek
2018-02-16 11:50     ` Mauricio Faria de Oliveira
2018-02-20  9:59       ` Michael Ellerman
2018-02-20 17:06         ` Michal Suchánek
2018-03-05 22:46           ` Mauricio Faria de Oliveira
2018-03-06 10:21             ` Michal Suchánek
2018-03-06 12:15             ` Michael Ellerman
2018-03-06 12:55               ` Michal Suchánek
2018-03-12 23:08                 ` Mauricio Faria de Oliveira
2018-03-13 11:39                   ` Michael Ellerman
2018-03-13 12:14                     ` Mauricio Faria de Oliveira [this message]
2018-03-13 17:59                       ` Michal Suchánek
2018-03-13 18:13                         ` Mauricio Faria de Oliveira
2018-03-13 18:36                           ` Michal Suchánek
2018-03-13 20:18                             ` Mauricio Faria de Oliveira
2018-03-16 14:18                               ` Michael Ellerman
2018-03-16 16:51                                 ` Mauricio Faria de Oliveira
2018-02-14 21:33 ` [PATCH 3/3] rfi-flush: Call setup_rfi_flush() after LPM migration Mauricio Faria de Oliveira
2018-02-14 21:39 ` [PATCH] DEBUG: shortcut mobility fixup/migration store, and abuse no_rfi_flush Mauricio Faria de Oliveira

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=c7cadceb-1957-046e-8934-592baccca5b7@linux.vnet.ibm.com \
    --to=mauricfo@linux.vnet.ibm.com \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=mpe@ellerman.id.au \
    --cc=msuchanek@suse.de \
    /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).