From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.9 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 68884C47420 for ; Tue, 29 Sep 2020 20:27:05 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D08342076B for ; Tue, 29 Sep 2020 20:27:04 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alien8.de header.i=@alien8.de header.b="GK5gwfr+" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728860AbgI2U1D (ORCPT ); Tue, 29 Sep 2020 16:27:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35844 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726643AbgI2U1C (ORCPT ); Tue, 29 Sep 2020 16:27:02 -0400 Received: from mail.skyhub.de (mail.skyhub.de [IPv6:2a01:4f8:190:11c2::b:1457]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C792AC061755 for ; Tue, 29 Sep 2020 13:27:02 -0700 (PDT) Received: from zn.tnic (p200300ec2f0ead004f62ea03a39a83a7.dip0.t-ipconnect.de [IPv6:2003:ec:2f0e:ad00:4f62:ea03:a39a:83a7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 125EF1EC047E; Tue, 29 Sep 2020 22:27:00 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1601411220; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:in-reply-to:in-reply-to: references:references; bh=CjmvGfS48ESBGtW8w0gZRQtSZ5i61WRGavmSChoRrBg=; b=GK5gwfr+F8ZCncvPht5h4nHQ7wTxIjkp4Rf9ijxT0UFRxxzHiVpQvYhxXnZS3+PAUhIkRr xYfdwK7p/1Wb/Cq4sqof8n46vrUQkXGW/FOrmjzrJ1uOzqqLi1H/n2V05XBQijxyI8LnL/ i7YucoywA1pbhfb3A/jZyvT7EkjQMgk= Date: Tue, 29 Sep 2020 22:26:54 +0200 From: Borislav Petkov To: Thomas Gleixner , shuo.a.liu@intel.com Cc: linux-kernel@vger.kernel.org, x86@kernel.org, Greg Kroah-Hartman , "H . Peter Anvin" , Ingo Molnar , Sean Christopherson , Yu Wang , Reinette Chatre , Yakui Zhao , Zhi Wang , Dave Hansen , Dan Williams , Fengwei Yin , Zhenyu Wang Subject: Re: [PATCH v4 02/17] x86/acrn: Introduce acrn_{setup, remove}_intr_handler() Message-ID: <20200929202604.GP21110@zn.tnic> References: <20200922114311.38804-1-shuo.a.liu@intel.com> <20200922114311.38804-3-shuo.a.liu@intel.com> <20200929175947.GL21110@zn.tnic> <873630jqiy.fsf@nanos.tec.linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <873630jqiy.fsf@nanos.tec.linutronix.de> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 29, 2020 at 10:07:17PM +0200, Thomas Gleixner wrote: > That does not prevent that either and notifiers suck. Bah, atomic notifiers run functions which cannot block, not what is needed here, right. > The pointer is fine and if something removes the handler before all of > the muck is shutdown then the author can keep the pieces and mop up > the remains. Uhu, so what makes sure that the module is not removed while an IRQ is happening? -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette