Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp4069620pxk; Tue, 29 Sep 2020 13:30:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzJP3qZjH22UWGrgyIYmj4S33gLsjOMSz/yCn4VWJUbpP5bODQtvYrr5vRKlwFMpOcb7n3e X-Received: by 2002:aa7:cf98:: with SMTP id z24mr5111937edx.241.1601411429177; Tue, 29 Sep 2020 13:30:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601411429; cv=none; d=google.com; s=arc-20160816; b=UvvIaOM7IONkhD96POgyzg82ljV3R6mlgMpjp/g4QiEODVw2xJZKvTRGJ55rXOpcU6 nA3oEdPGuAm8Z2jMAg55Oxs089ixbSl0SZsQQbTRxI1AKAUAra1/8Q29AwCD8O8OeoLm JvyJbXcDWbkMXnnfZ1fSdfu7bd/ujjPKzI9cDVhIi6GDo/3hi8Z8Rw2eELMUaG9yysTs tWJAq5OkZf4ulM1tjUW3zRpkWE1lUiLYXfpS1vZUD0Xi37viNdnfOGN7LZ9kUKSviOcW tRovS0AfOWYHPvcl/VqMbx9TOzwsGFDsAjm712K5kqV033WUv9TEdEyr2SWdTz4bwzA0 3QDg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=CjmvGfS48ESBGtW8w0gZRQtSZ5i61WRGavmSChoRrBg=; b=tByLGJ1cNvcp0IGBlh8LCbBJ58CC4nJxdUZEt5EDBV3EF21Br1xEWZR5w7YVSoiKgJ OGy8V+LQHYXOwbYa+cJCG22pN1a6uegIBU01HNOFmAaZvnMiNNMNYsWzJTzM/0XoJ4e/ iASiEaKNrEidUaGIS/Smipm47eBbUuYCbQ351EhCuB56+dmUNrIlCH1phWrVXXXw2OXV XJoO+LfippcLnqph1Sv/ZycY90z050RLUOanEpAOTIZyid8b9lkjeHn7SDDwSpt4dYlC 0lemdn8SaXC8GSZot5KvRais5VL4eLf9VMIHnv5BdaZRzzVcORWl3Az5opfcnnwGCRuP TnBg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=GK5gwfr+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r7si3609759edi.191.2020.09.29.13.30.06; Tue, 29 Sep 2020 13:30:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=GK5gwfr+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728362AbgI2U1D (ORCPT + 99 others); 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