All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nicolai Stange <nstange@suse.de>
To: speck@linutronix.de
Subject: [MODERATED] Re: [PATCH v2 5/8] kvm: handle host mode irqs 5
Date: Wed, 01 Aug 2018 08:11:27 +0200	[thread overview]
Message-ID: <87r2jizkds.fsf_-_@suse.de> (raw)
In-Reply-To: <20180730125912.GI2494@hirez.programming.kicks-ass.net> (speck for Peter Zijlstra's message of "Mon, 30 Jul 2018 14:59:12 +0200")

speck for Peter Zijlstra  <speck@linutronix.de> writes:

> On Fri, Jul 27, 2018 at 01:22:16PM +0200, speck for Nicolai Stange wrote:
>> --- a/arch/x86/include/asm/hardirq.h
>> +++ b/arch/x86/include/asm/hardirq.h
>> @@ -7,6 +7,9 @@
>>  
>>  typedef struct {
>>  	u16 __softirq_pending;
>> +#if IS_ENABLED(CONFIG_KVM_INTEL)
>> +	bool kvm_cpu_l1tf_flush_l1d;
>> +#endif
>
> NAK on using _Bool in a composite type.
>

Do I get it right that you'd prefer a bitfield?

If so, I chose a bool here because updating a bitfield would
involve a rmw operation and we might want to make NMIs set that flag
opportunistically in a later patch.

This series ignores NMIs for simplicity, because those issued after
local_irq_disable() and before VMENTER would still get missed.

Or did I miss your point completely?

Thanks,

Nicolai


-- 
SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton,
HRB 21284 (AG Nürnberg)

  reply	other threads:[~2018-08-01  6:11 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-29 18:40 [MODERATED] [PATCH v2 0/8] kvm: handle host mode irqs 0 Nicolai Stange
2018-07-21 20:16 ` [MODERATED] [PATCH v2 1/8] kvm: handle host mode irqs 1 Nicolai Stange
2018-07-21 20:25 ` [MODERATED] [PATCH v2 2/8] kvm: handle host mode irqs 2 Nicolai Stange
2018-07-21 20:35 ` [MODERATED] [PATCH v2 3/8] kvm: handle host mode irqs 3 Nicolai Stange
2018-07-22 11:38 ` [MODERATED] [PATCH v2 8/8] kvm: handle host mode irqs 8 Nicolai Stange
2018-07-27 10:46 ` [MODERATED] [PATCH v2 4/8] kvm: handle host mode irqs 4 Nicolai Stange
2018-07-30 11:53   ` [MODERATED] " Paolo Bonzini
2018-07-27 11:22 ` [MODERATED] [PATCH v2 5/8] kvm: handle host mode irqs 5 Nicolai Stange
2018-07-30 11:53   ` [MODERATED] " Paolo Bonzini
2018-07-30 12:59   ` Peter Zijlstra
2018-08-01  6:11     ` Nicolai Stange [this message]
2018-08-01  6:12       ` [MODERATED] [AUTOREPLY] " Josh Poimboeuf
2018-08-01  6:54       ` Thomas Gleixner
2018-07-29 10:15 ` [MODERATED] [PATCH v2 6/8] kvm: handle host mode irqs 6 Nicolai Stange
2018-07-29 11:06 ` [MODERATED] [PATCH v2 7/8] kvm: handle host mode irqs 7 Nicolai Stange

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=87r2jizkds.fsf_-_@suse.de \
    --to=nstange@suse.de \
    --cc=speck@linutronix.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.